SUMMARY: Output of 'iostat': how to map, let say sd49, to cxtydz?

From: Tim Tsao (ttt888@yahoo.com)
Date: Thu Oct 15 1998 - 09:44:19 CDT


Hi there,

Thanks for everyone who replied. You're great helpful.

Attached are two scripts that will map sdxxx to cxtydz.
One is a Perl script and the other one is shell script.

By the way, internal CD-ROM was counted. So it showed
up in the result of iostat.

-Tim

---<ttt888@yahoo.com> wrote:
>
> Hi Gurus,
>
> A question about the output of command 'iostat'.
> I have a UE5000 running Solaris 2.5.1 with 4 RSM
> trays (7 disk drives in each tray) and 30 EMC array
> drives. So the total number of disk drives is
> 7x4 + 30 = 58. Following is one instance of my iostat
> output (I cut off the unnecessary fields so the output
> will be easy to read):
>
> disk r/s w/s Kr/s Kw/s
> sd0 0.0 0.0 0.0 0.0
> sd1 0.1 0.1 0.8 0.8
> sd2 0.8 0.8 10.4 10.4
> sd3 0.0 0.0 0.0 0.0
> sd4 0.9 0.9 6.7 6.7
> sd5 1.0 1.0 1.6 1.6
> sd6 0.2 0.2 0.9 0.9
> sd15 0.1 1.9 0.1 1.4
> sd16 0.2 0.2 3.2 3.2
> sd17 1.1 1.3 10.1 16.8
> sd18 0.2 0.2 0.8 0.8
> sd19 0.9 0.9 6.5 6.5
> sd20 0.6 0.6 0.7 0.7
> sd21 0.6 0.6 1.6 1.6
> sd30 0.0 0.0 0.0 0.0
> sd31 0.0 0.0 0.0 0.0
> sd32 1.8 1.8 18.0 18.0
> sd33 0.6 0.6 2.8 2.8
> sd34 1.3 1.3 11.1 11.1
> sd35 0.3 0.3 0.9 0.9
> sd36 0.7 0.7 2.4 2.4
> sd45 0.0 4.0 0.0 50.3
> sd46 0.1 0.1 2.4 2.4
> sd47 0.8 0.8 7.9 7.9
> sd48 0.2 0.2 0.8 0.8
> sd49 0.7 0.9 7.0 10.6
> sd50 0.0 0.7 0.0 5.5
> sd51 0.0 2.8 0.0 38.7
> sd66 0.0 0.0 0.0 0.0
> sd720 0.0 0.0 0.0 0.0
> sd721 0.0 0.0 0.0 0.0
> sd722 0.0 0.0 0.0 0.0
> sd723 0.0 0.0 0.0 0.0
> sd724 0.0 0.0 0.0 0.0
> sd725 0.0 0.0 0.0 0.0
> sd726 0.0 0.0 0.0 0.0
> sd727 0.0 0.0 0.0 0.0
> sd728 0.0 0.0 0.0 0.0
> sd729 0.0 0.0 0.0 0.0
> sd730 0.0 0.0 0.0 0.0
> sd731 0.0 0.0 0.0 0.0
> sd732 0.0 0.0 0.0 0.0
> sd733 0.0 0.0 0.0 0.0
> sd734 0.0 0.0 0.0 0.0
> sd735 0.0 0.0 0.0 0.0
> sd736 0.0 0.0 0.0 0.0
> sd737 0.0 0.0 0.0 0.0
> sd738 0.0 0.0 0.0 0.0
> sd739 0.0 0.0 0.0 0.0
> sd740 0.0 0.0 0.0 0.0
> sd741 0.0 0.0 0.0 0.0
> sd742 0.0 0.0 0.0 0.0
> sd743 0.0 0.0 0.0 0.0
> sd744 0.0 0.0 0.0 0.0
> sd745 0.0 0.0 0.0 0.0
> sd746 0.0 0.0 0.0 0.0
> sd747 0.0 0.0 0.0 0.0
> sd748 0.0 0.0 0.0 0.0
> sd749 0.0 0.0 0.0 0.0
>
> Here're my two questions:
>
> (1). How do we map, for example, sd49, to cxtydz?
>
> (2). I have total 58 disk drives. Why the output
> 59 drives? Did it count the internal CD-ROM
> driv?
>
> Thanks.
>
>
>
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com







This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT