Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Looking at the opened UNIX sockets using lsof -U command shows:

 haproxy    1205   haproxy    7u  unix 0xc21aac00      0t0  62286604 /var/lib/haproxy/stats.1204.tmp

I want to know what is this stats.1204.tmp refers to ? There is no file with this name in this location. Except there is a file named stats.

srwxr-xr-x 1 root root 0 Oct 17 09:10 stats

And checking the file type using file command show:

$ file stats
stats: socket

Can someone explain me how this works?

share|improve this question
That "s" is not the setuid bit, it's telling you that it's a socket. –  nickgrim Oct 29 '12 at 11:21
@nickgrim: ohh ya..sorry for that. –  pradeepchhetri Oct 29 '12 at 11:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.