Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Using the /proc filesystem to monitor progress of script | Better HN
Using the /proc filesystem to monitor progress of script
(whitane.com)
7 points · by
shanemhansen
· 14y ago · 2 comments
A tip for using the /proc filesystem to monitor file upload/processing progress.
Comments
[–]
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
OP
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.