Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stat]

The tag has no usage guidance.

1
vote
1answer
450 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 ...
2
votes
2answers
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]...
0
votes
2answers
1k 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; ...
0
votes
1answer
291 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 ...
2
votes
0answers
169 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 ...
0
votes
2answers
46 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....
1
vote
0answers
730 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 ...
4
votes
2answers
8k 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
23 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
142 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
1k 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 ./ ...
4
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 ....
11
votes
1answer
6k 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:...
1
vote
2answers
151 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
406 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 ...