Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Using the /proc filesystem to monitor progress of script (whitane.com)
7 points by shanemhansen on Dec 20, 2011 | hide | past | favorite | 2 comments


`lsof' is a nice front-end to this particular usage of /proc, and also works on other Unixes (/proc is, I think, a Linux innovation, and absent at least on OS X).


Oh, I never realized that's what the offset column is for. Leave it to me to reinvent (poorly) lsof by digging in some obscure corner of the kernel.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: