Questions tagged [stat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Is there a better way to analyze Varnish hit rate

I currently analyze varnish hit rate like this While this is good, a major part of the request the server services is non-cacheable. This brings down the hit rate drastically. How can I modify this ...
user avatar
  • 4,283
2 votes
2 answers
1k views

Centos 6 vs Centos 7 file access performance [closed]

I'd like some assistance in trying to figure out what could explain Centos 7 being slower in accessing a file then Centos 6. It's about a 17% difference. Here's a simple test: [root@test-centos6 shm]...
user avatar
  • 41
1 vote
2 answers
2k views

php-fastcgi status: "No input file specified"

# grep pm.status_path /etc/php5/fpm/pool.d/www.conf pm.status_path = /fcgi-status nginx config: location ~ ^/(fcgi-status|ping)$ { access_log off; allow 127.0.0.1; deny all; ...
user avatar
  • 2,055
0 votes
1 answer
439 views

What is the meaning of Haproxy's sessions info page?

I'm using haproxy 1.6.8. The following information is output on echo "show sess" | nc -U /var/lib/haproxy/stats 0x1696d40: proto=tcpv4 src=67.55.94.187:51183 fe=adf be=adfback srv=capped ts=08 ...
user avatar
  • 195
2 votes
0 answers
301 views

stat() mtime is in the past, despite fsync

This might be a bit esoteric, but I've got an odd sort of a problem with stat(). Specifically - on a Linux system, with Isilon storage NFS mounted. I have a process that is getting time differences ...
user avatar
  • 3,697
0 votes
2 answers
83 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 audit....
user avatar
1 vote
0 answers
1k 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 ...
user avatar
  • 111
5 votes
2 answers
15k 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: ...
user avatar
0 votes
2 answers
28 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.
user avatar
0 votes
1 answer
162 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 ...
user avatar
1 vote
1 answer
2k 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 ./ ...
user avatar
  • 305
4 votes
1 answer
2k 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 ....
user avatar
14 votes
1 answer
9k 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 Block:...
user avatar
1 vote
2 answers
156 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 ...
user avatar
  • 125
0 votes
3 answers
695 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 ...
user avatar
  • 134