Hacker News new | comments | show | ask | jobs | submit login
Using the /proc filesystem to monitor progress of script (whitane.com)
7 points by shanemhansen 2044 days ago | hide | past | web | 2 comments | favorite

`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 | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact