[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Where is the disk status info.



On Mon, Jun 07, 2004 at 06:08:10PM +0200, Carles Xavier Munyoz Baldó wrote:


> In RedHat 8, the disk status counters (bytes read, bytes write, etc.) are 
> stored in /proc/partitions.
> 
> In Fedora Core 2 if I make a cat of /proc/partitions I can't see this 
> counters.
> Where are the now ?
> How may I monitor the disks status in Fedora Core 2 ?

Have you looked in /proc?
Perhaps diskstats has what you want?

$ cat diskstats
   1    0 ram0 0 0 0 0 0 0 0 0 0 0 0
....
   1   15 ram15 0 0 0 0 0 0 0 0 0 0 0
   3    0 hda 116438 12309 2412432 687146 31271 82327 908752 1847709 0 558182 2534856
   3    1 hda1 802 805 0 0
...
   8    0 sda 24 115 1112 719 0 0 0 0 0 656 719
...

Then there is sar as in "sar -d 5 5"...



-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]