[Gllug] top-like command for disk io ?

salsaman salsaman at xs4all.nl
Mon Mar 19 15:17:29 UTC 2007


Christian Smith wrote:

> salsaman uttered:
>
>> Hi,
>> is there a shell command like "top" which shows which processes are 
>> using most disk io (instead of CPU percentage) ?
>
>
>
> Beyond iostat or vmstat, no.
>
> Such a tool would be difficult to write, as most disk IO os done 
> asynchronously. A process may do 100 writes, but result in a single 
> disk IO. Another process may do 2 writes, but result in 2 seperate 
> disk IOs, and thus tie up the disk more.
>
> What are you trying to achieve? Are you trying to find IO bound 
> processes? Trying to maximize IO throughput (I assume for video 
> editing/writing)?

I am trying to minimise hardrive usage on my laptop. So I was watching 
the disk light, and it was triggering every few seconds. I wanted to 
know what was causing it.

(Eventually I traced it to a hacker trying to brute force ssh on the 
machine - but that is another story).

Gabriel.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list