0

On linux, is there a way to count the number of file descriptors open to a some file?

0
3

The lsof command will tell you all the open files and what program has them open.

lsof filename

1
0

Also:

fuser -v filename

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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