Operating System - Linux
1751981 Members
5054 Online
108784 Solutions
New Discussion юеВ

Disk Utiliztion ( not space )

 
Josh Owings
Frequent Advisor

Disk Utiliztion ( not space )

Everyone,
I was wondering how I could get the percentage of disk utilization by disk.
In HPUX you can do 'sar -d' and you get the followings fields:
'device,%busy,avque,r+w/s,blks/s ,avwait,avserv'

The '%busy' is the field I am interested in. In my Linux box i only get 'DEV,tps,blks/s' with 'sar -d' and 'tps,rtps,wtps,bread/s,bwrtn/s' with 'sar -b'.

I appreciate any help.
3 REPLIES 3
Paul R. Dittrich
Esteemed Contributor

Re: Disk Utiliztion ( not space )

AFAIK, the Linux sar does not have %busy for disk devices. Neither does iostat but you can use iostat to get stuff like the queue lengths for I/O and the times to service those requests which are more meaningful measurements than "percent busy".

HTH,
Paul
Josh Owings
Frequent Advisor

Re: Disk Utiliztion ( not space )

Unfortunately, they want to see the % so that is what I am inclined to provide.
Christoph Rothe_3
Frequent Advisor

Re: Disk Utiliztion ( not space )

Hi,

did you try

df

On my system it shows exactly what you want.

Gruss,

Christoph