Adding 2 more drives to /proc/stat (totalling 4)
Richard Hobbs
richard.hobbs at crl.toshiba.co.uk
Wed Sep 8 15:17:15 UTC 2004
Hello,
Here is /proc/stat on a redhat 8.0 box of mine...
[root at hostname root]# cat /proc/stat
cpu 9735 966 80085 9015009
cpu0 9735 966 80085 9015009
page 6114210 30206224
swap 2057 10245
intr 25241891 9105795 161 0 15 0 0 2 0 1 0 0 12849982 37 0 80230 3205668
disk_io: (3,0):(78075,20229,370094,57846,1181506)
(3,1):(2437,2403,80738,34,376)
ctxt 33475642
btime 1094565304
processes 21870
[root at hostname root]#
The machine, however, has 4 hard drives:
[root at hostname root]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/hda7 /data5_1 reiserfs defaults
1 2
/dev/hdb1 /data5_2 reiserfs defaults
1 2
/dev/hdc1 /data5_3 reiserfs defaults
1 2
/dev/hdd1 /data5_4 ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0
0
[root at hostname root]#
How can I get the second two drives into /proc/stat??
The reason for this is that I'm using HotSaNIC to monitor stuff on this
machine, like diskio. It can only monitor the first two disks however,
because it uses /proc/stat as it's source for some information.
I was under the impression that /proc/stat just contains the first four
drives, but here it only contains the first two (hda and hdb).
Thanks in advance to anyone who can help...
Hobbs.
--
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Web: http://www.toshiba-europe.com/research/
Email: richard.hobbs at crl.toshiba.co.uk
Tel: +44 1223 376964 Mobile: +44 7811 803377
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com
More information about the redhat-list
mailing list