Hacker Newsnew | comments | show | ask | jobs | submit login
Using the /proc filesystem to monitor progress of script (whitane.com)
7 points by shanemhansen 1231 days ago | 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 | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact