Using the /proc filesystem to monitor progress of script (whitane.com) 7 points by shanemhansen 14y ago ↗ HN A tip for using the /proc filesystem to monitor file upload/processing progress.
[–] obfuscate 14y 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 14y ago ↗ 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.
[–] shanemhansen 14y ago ↗ 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.
2 comments
[ 2.4 ms ] story [ 13.6 ms ] thread