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@list.waikato.ac.nz
Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug