List Open Files of a Process

lsof -p `pifof process`

provides an exhaustive list including libraries.

ls -l /proc/`pidof process`/fd

provides a list of only the "plain" files.

No comments:

Post a Comment

I appreciate comments. And I do read them.