General
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get IO statistics on a SmartArray controller under RedHat?

David Pease_1
Occasional Contributor

How do I get IO statistics on a SmartArray controller under RedHat?

I have a SmartArray 5304 installed in a ML370G3 running RedHat 8.0 with the latest patches. When I run iostat or cat /proc/stat, I don't see any information for the three cciss partitions:
/dev/cciss/c0d1p3
/dev/cciss/c0d1p1
/dev/cciss/c0d0p1

I vaguely recall looking into this a couple of years back on another machine and finding out that there was a kernel limitation on the major and minor nodes for monitored devices. Is this still true, or is there something else I can do to watch the disk I/O statistics with this controller?
2 REPLIES
Stuart Browne
Honored Contributor

Re: How do I get IO statistics on a SmartArray controller under RedHat?

It's probably not sufficient, but what about 'sar' ?
One long-haired git at your service...
David Pease_1
Occasional Contributor

Re: How do I get IO statistics on a SmartArray controller under RedHat?

Replying to my own question. :)

It turns out that you can get a list of the devices in /proc/partitions, then run iostat -x . For example:

iostat -x cciss/c0d0
gives

avg-cpu: %user %nice %sys %idle
0.50 0.00 12.00 87.50

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
/dev/cciss/c0d0
11831.00 0.00 470.00 0.00 98400.00 0.00 49200.00 0.00 209.36 52.38 11.14 2.13 100.00


- David