How can I know which files a proccess is accessing?

Ulrich Spoerlein uspoerlein at gmail.com
Sat Jun 10 18:37:40 UTC 2006


Michael Hall wrote:
> Yes, it does look handy, another new usage for 'find'.
> 
> Typically a 'grep ... | awk ...' can be combined, resulting in a small
> improvement:
> 
> fstat | awk '/httpd.*\/var/ { print $6 }' | xargs ...

Won't buy you anything though: processing is I/O bounded.

Ulrich Spoerlein
-- 
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060610/3a6d54c6/attachment.pgp


More information about the freebsd-stable mailing list