Using the /proc filesystem to monitor progress of script(whitane.com)
whitane.com
Using the /proc filesystem to monitor progress of script
http://www.whitane.com/blog/uncategorized/proc-filesystem-to-see-progress-of-script/
A tip for using the /proc filesystem to monitor file upload/processing progress.
1 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.