
+c doesn't appear to be an option on RedHat 9's version of lsof On Mon, 2004-08-23 at 13:21, John McPherson wrote:
On Mon, 2004-08-23 at 12:36, Oliver Jones wrote:
Heya.
Anyone know of a tool that is like "top" but for showing the number of files a process has open. I know all about lsof. But I want something along the lines of:
PID NAME OPENFILES 1234 httpd 20 5321 bash 5 ...
Etc...
Something I can sort by number of files open like you can sort top by memory or cpu usage.
Anyone know of anything like this or knows how to get lsof and some grep/perl/awk filters to do something similar.
Ok, you asked for it...
(PS I think this looks a lot more readable than Perry's awk/uniq/sort/join/ps/sort/sort command-line monstrosity...)
The PowerPC chip has a machine instruction for Ensure Inline Execution of I/O. The opcode is EIEIO. And you thought engineers had no sense of humour?
______________________________________________________________________
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
-- Oliver Jones » Director » oliver(a)deeperdesign.com » +64 (21) 41 2238 Deeper Design Limited » +64 (7) 377 3328 » www.deeperdesign.com