3 ms·
Using the /proc filesystem to monitor progress of script
A tip for using the /proc filesystem to monitor file upload/processing progress.
- obfuscate 15y ago`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).
- shanemhansen 15y agoOh, 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.