iostat -x output

iostat -x output

Post by Bob Geig » Thu, 18 Jul 1996 04:00:00



Hello, All...

Hope someone can answer this quick question on iostat output:  What do
the disk drive designations on the far left column correspond to when
you do iostat -x ?

I get:

fd0
sd10
sd3
sd6
sd7
sd8
sd9

I have one internal drive and four disks on an external drive array.  I'm
sure the fd0 is the floppy but what do the others mean?  How, for example,
in examining disk load do I know what disk sd10 is?

Thanks very much in advance.

Regards,

Bob Geiger

--

 
 
 

iostat -x output

Post by Neil Waybrig » Sat, 20 Jul 1996 04:00:00


do an ls -l of /dev/sd10* and you will see which disk it corresponds
to.
Neil


>Hello, All...
>Hope someone can answer this quick question on iostat output:  What do
>the disk drive designations on the far left column correspond to when
>you do iostat -x ?
>I get:
>fd0
>sd10
>sd3
>sd6
>sd7
>sd8
>sd9
>I have one internal drive and four disks on an external drive array.  I'm
>sure the fd0 is the floppy but what do the others mean?  How, for example,
>in examining disk load do I know what disk sd10 is?
>Thanks very much in advance.
>Regards,
>Bob Geiger
>--


 
 
 

iostat -x output

Post by William LeFebv » Sat, 27 Jul 1996 04:00:00




>Hello, All...

>Hope someone can answer this quick question on iostat output:  What do
>the disk drive designations on the far left column correspond to when
>you do iostat -x ?

>I get:

>fd0
>sd10
>sd3
>sd6
>sd7
>sd8
>sd9

>I have one internal drive and four disks on an external drive array.  I'm
>sure the fd0 is the floppy but what do the others mean?  How, for example,
>in examining disk load do I know what disk sd10 is?

>Thanks very much in advance.

These are the old Berkeley-esque names.  To get a list of association
between these names and the SVR4 names, do the following:

        cd /dev
        ls -l sd*a

This *should* list out the symbolic links for the Berkeley compatbility
names set up at reconfigure time.  They'll look something like this:

lrwxrwxrwx   1 root     root          12 Feb  7 17:33 sd1a -> dsk/c1t1d0s0
lrwxrwxrwx   1 root     root          12 Feb  7 17:33 sd2a -> dsk/c1t2d0s0
lrwxrwxrwx   1 root     root          12 Feb  7 17:33 sd5a -> dsk/c1t5d0s0
lrwxrwxrwx   1 root     root          12 Feb  7 17:33 sd6a -> dsk/c1t6d0s0

Occasionally you may get one that looks like this:


This will be a little harder to decipher.  :-)

                William LeFebvre

 
 
 

iostat -x output

Post by Paul O'maho » Tue, 30 Jul 1996 04:00:00




: >Hello, All...
: >
: >Hope someone can answer this quick question on iostat output:  What do
: >the disk drive designations on the far left column correspond to when
: >you do iostat -x ?
: >
: >I get:
: >
: >fd0
: >sd10
: >sd3
: >sd6
: >sd7
: >sd8
: >sd9
: >

: Occasionally you may get one that looks like this:


: This will be a little harder to decipher.  :-)

:               William LeFebvre

 you could try a script like this:

---- begin ---
# script to translate disk names from the ssdXX variety to cNtNdN type
# always return slice 0
# PJL, 24 June 1996

DK_UNIT=`expr $1 : 'ssd\([0-9]*\)'`
if [ ! -z "$DK_UNIT" ] ; then
   DK_BASE="ssd"
else
  DK_UNIT=`expr $1 : 'sd\([0-9]*\)'`
  DK_BASE="sd"
fi


if [ -z "$DK_PATH" ] ; then
  echo "No such device"
  exit
fi
DK_NAME=`basename $DK_PATH`

ls -l /dev/dsk | grep /${DK_NAME} | awk '{print $9}' | grep 's0'
--- end ---

Note that we use a SparcStorage Array, hence the ssdXX names
You may have to play around with these lines.

Enjoy,
Pete
--
Peter * x25053

The difference between theory and practice in theory is less
than the difference between theory and practice in practice

 
 
 

1. different device name in output of df and iostat?

output of iostat -xn:

    2.4    0.9   18.8   10.3  0.0  0.0    0.0    4.2   0   1 c1t0d0
    1.8    0.9   13.8    9.9  0.0  0.0    0.0    4.8   0   1 c1t1d0
    0.0    0.1    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c2t40d1
   11.3   28.1  506.8  162.4  0.0  0.1    0.0    2.1   0   6 c2t40d0
  260.4    9.3 6354.5 1375.5  0.0  0.6    0.0    2.3   0  22 c5t44d1
    0.0    0.1    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c5t44d0
    0.0    0.1    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c3t42d1
   40.3    2.0  356.5  207.4  0.0  0.0    0.0    1.1   0   2 c3t42d0
    0.0    0.1    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c4t46d0
   10.2   27.1  444.4  257.9  0.0  0.1    0.0    2.4   0   6 c4t46d1

output of df:

/dev/dsk/c6t40d0s6     234G    22G   110G    17%    /u01
/dev/dsk/c7t42d1s6     234G    15G   117G    12%    /u03
/dev/dsk/c6t40d1s6     303G   221G   178G    56%    /u02
/dev/dsk/c7t42d0s6     369G   207G    59G    78%    /apps
/dev/dsk/c1t0d0s7      209G   3.9G   104G     4%    /export/home

2. X11 ports in X11BASE

3. iostat output

4. Rejected Mail Host?

5. Wierd IOSTAT output

6. Sendmail Autoresponders

7. very odd iostat output

8. Burning CD's what am I doing wrong?

9. graphical output of vmstat, iostat?

10. iostat - default output?

11. HELP: reading 'iostat' output

12. iostat output..

13. How to interpret iostat output?