[ILUG] disk write hunt
Kenn Humborg
kenn at bluetree.ie
Wed Jan 21 09:29:23 GMT 2004
> maybe poll with either `lsof -o' or `lsof -s' and
> watch which file(s) are open for writing and whose
> offset (-o) or size (-s) is "constantly" changing?
Ahh - but Linux doesn't provide enough info to do 'lsof -o'.
I submitted a kernel patch to make the "size" of the
/proc/PID/fd/X symlinks be the offset, but it was rejected
on the grounds that some userland depends on the current
hard-coded size of these symlinks.
Which sounds completely stupid to me.
Sigh...
Later,
Kenn
More information about the ILUG
mailing list