Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

fuser - identify processes using files or sockets

How to use this function to know the process id's of the two processes that are accessing a file that is the fd for a udsocket?

I have tried:

fuser -m /tmp/.dn_usage

but that just gives me some numbers like

1328rce  1334rce  1335rce  1336rce  1338rce  1340rce  1341rce 

which I am not sure how to use.

Ok. So i will rephrase my question. How to get the processes that are accessing a unix domain socket?

share|improve this question

migrated from stackoverflow.com Mar 2 '12 at 21:33

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 0 down vote accepted

Maybe you should reread the man page ? All the fields are explained, the number before the letters is the PID (ie Process ID). You can add the -v flag for more information about the process.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.