The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
18 views

Compare the time stamp of Suse linux

I am try to compare the two time file based on their modify/lastchange time stamp & then copy the file to some folder code below #!/bin/sh cd /sapmnt/audit/ echo $PWD t1= stat -c %z ...
1
vote
0answers
67 views

Windows equivalent of Linux vmstat pswpin and pgfault?

Is there a way to query Windows for the total number of pages swaped in / out and total amount of page faults? (values found in /proc/vmstat on Linux) I could only find ...
2
votes
1answer
700 views

Ansible local_action: stat doesnt find my file

I want to copy a file to remote nodes, but only if the file exists. I copied it into /tmp/webapps/partner.war My Task is: - local_action: stat path="/tmp/webapps/{{ application }}.war" register: ...
0
votes
2answers
18 views

View File chown changes

Is there a way to view all of the times a files ownership changed? I have a feeling there is a security issue on my server, however I am also very paranoid and may have changed it myself.
0
votes
1answer
116 views

Xen dom0 and domu ifconfig returns different stats

I expected that when I use ifconfig command to display network traffic RX and TX values both for dom0 and domu machine, there are differences. I run once ping inside the domu. domu ifconfig command ...
1
vote
1answer
759 views

linux: question marks in file status; cannot stat file

Linux 2.6.18-164.11.1.el5.centos.plus filesystem in question: reiserfs Hi, I'm having trouble deleting a file: [root@flat: all_subjs_wcbf]# ls -lah total 0 drwxrwxrwx 2 szhu cfn 88 Sep 1 2011 ./ ...
3
votes
1answer
1k views

Dereference symbolic link in OS X?

In OS X, how can I dereference a symbolic link to a canonical file name? (i.e. one starting with /.) That is, I'm after the equivalent of GNU readlink's -f option: kapow:~$ greadlink -f ...
8
votes
1answer
3k views

Whats “Birth” field in stat command output

I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth". # stat history_file1.txt File: `history_file1.txt' Size: 8944 Blocks: 24 IO ...
1
vote
2answers
140 views

Directory in Linux(ext3) with only 2 files occupies 32000 blocks(16Mbytes)

IIRC my Operating Systems classes, the size of a directory in Linux is given by the number of files it contains([wikipedia link])1 So, why a directory with only 2 files occupies 32000 blocks? # stat ...
0
votes
3answers
297 views

May the file size returned by stat be compromised?

I want to make sure that nobody changed a file. In order to accomplish that, I want not only to check MD5 sum of the file, but also check its size, since as far as I understand this additional simple ...