[SunHELP] monitor disk and cpu usage

Simon Jespersen shj at pine.dk
Wed May 29 04:54:09 CDT 2002


Hi list,

i would like to make a shhel command that could identify which processes
using most cpu and disk i/o

my problem is
When i use fuser -c -u /spool
i get a lot of output.

I would like to do a ps command on all process using /spool and sorts the
output in a way displayng the process using most cpu.
I think there is argument to the ps command to sort that way but cannot find
them in man pages.

Is is possible also to locate which processid taken up iowrite on a
filesystem
How could that be done ?

Thanks
Simon Jespersen
Project engineer
Pine Tree Systems A/S
Damhaven 5d
DK-7100 Vejle
Email: shj at pine.dk
Phone: +4575724477



More information about the SunHELP mailing list