How to use IOSTAT command


 
Thread Tools Search this Thread
Operating Systems Solaris How to use IOSTAT command
# 1  
Old 05-03-2012
How to use IOSTAT command

Hello everyone,

Can you please explain me what kind of information do IOSTAT show ?

iostat -xnz 3 show me those informations:

The I/O of the c0t0d0 disk is normal ?

Code:
               extended device statistics
    r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device
    0.0    1.0    0.0   50.7  0.0  0.0    0.0   12.5   0   1 c0t2d0
    0.0 3202.2    0.0 25636.5 361.7 14.8  112.9    4.6  93  93 c0t0d0

Thanks for your help.

Last edited by DukeNuke2; 05-03-2012 at 11:39 AM..
# 2  
Old 05-03-2012
this depends on how you would describe "normal"... a longer run of iostat would be more conclusive. i mostly use something something like this:
Code:
iostat -xnc -Td 3

and let it run for some time... but this depends on what i want to know about the IO behaviour of the storage.
# 3  
Old 05-03-2012
Thanks for your answer. Normal means for me that my applications do not show any slowness.

what are the options -xnc show ?

Thanks
# 4  
Old 05-03-2012
Code:
man iostat

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Iostat and top command

I am facing strange behaviour of iostat command and top command. where initially it is showing high utilization and after it is showing low utilization. iostat command avg-cpu: %user %nice %system %iowait %steal %idle 73.60 0.01 23.93 0.92 0.00 1.54 Device: rrqm/s wrqm/s r/s w/s... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

2. Shell Programming and Scripting

Need help to parse iostat command output

Hi, I got the code below is one of the threads from this forum. lineCount=$(iostat | wc -l) numDevices=$(expr $lineCount - 7); iostat $interval -x -t | awk -v awkCpuFile=$cpuFile -v awkDeviceFile=$deviceFile -v awkNumDevices=$numDevices ' BEGIN { print... (2 Replies)
Discussion started by: gopivallabha
2 Replies

3. Shell Programming and Scripting

Need help to get the parsed output of "iostat" command

Hi, I have a requirement where parsed output from various linux commands like top, netstat, iostat, etc. will be the input for one javascript with the parsed output from these commands converted to JSON format For "iostat" command, since there are two outputs - one w.r.t CPU utilization and... (2 Replies)
Discussion started by: gopivallabha
2 Replies

4. SuSE

Is this iostat pipe to sort service request command correct?

Hi, my os is SLES 10 from sort iostat as my output does not include rkB/s and wkB/s I probably have to adjust the key position, so is the following iostat pipe to sort service request command correct? oracle@vmc_stallite:~> iostat -x | sort -nrk11 sda 0.96 ... (4 Replies)
Discussion started by: jediwannabe
4 Replies

5. Solaris

Problem in getting total Disk space using iostat -En command

Hi Everyone, I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine. This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 Replies

6. AIX

Help with iostat

Hello, I support Oracle 11g on AIX 7.1. Using the command $iostat -D hdisk2 hdisk4 hdisk5 5 I get the following output: hdisk5 xfer: %tm_act bps tps bread bwrtn 44.0 1.4M 178.2 1.4M 14.7K read: ... (3 Replies)
Discussion started by: oracledba1024
3 Replies

7. Solaris

iostat command question

Iostat inquiry;# iostat -e ---- errors --- device s/w h/w trn tot fd0 0 0 0 0 md0 0 0 0 0 md1 0 0 0 0 md2 0 0 0 0 md10 0 0 0 0 md11 0 0 0 0 md12 0 0 0 0 md30 0 0 0 0 md31 0 0 0 0 md32 0 0 0 0 md40 0 0 0 0 md41 0 0 0 0 md42 0 0 0 0 md50 0 0 0 0 md51 0 0 0 0 md52 0 0 0 0 md60 0 0 0... (2 Replies)
Discussion started by: pepi
2 Replies

8. Red Hat

iostat on Redhat 5

A find for the "iostat" command on a redhat 5 update 4 comes back with no results. Any separate rpm needs to be installed to get the binary for this ? Thanks in advance. (1 Reply)
Discussion started by: uxadmin007
1 Replies

9. AIX

how to identified this iostat value

Hi All AIX expert i'm using AIX 5.2 When i execute this command which is : ---------------------------------------------------------------------- >> iostat -a System configuration: lcpu=4 disk=30 tty: tin tout avg-cpu: % user % sys % idle % iowait ... (2 Replies)
Discussion started by: adzuanamir
2 Replies

10. Filesystems, Disks and Memory

Help with iostat ...

All, I am attempting to help tune a Sun for better performance (mainly for SAS 9.1), and have found indicators pointing to poor I/O utilization. I have run iostat -cx, and found one device in particular where the %w is in the 90's during processing. I have a feeling that this is where the SAS... (3 Replies)
Discussion started by: dj_is
3 Replies
Login or Register to Ask a Question