1837541 Members
3397 Online
110117 Solutions
New Discussion

Re: Disk I/O kbps

 
wish_1
Frequent Advisor

Disk I/O kbps

dear all,

can any of you pl tell me is there any command to find Disk I/O kbps

Please Urgent !!!

thanks in adv

regards
6 REPLIES 6
RAC_1
Honored Contributor

Re: Disk I/O kbps

iostat
glance
sar -d
There is no substitute to HARDWORK
Muthukumar_5
Honored Contributor

Re: Disk I/O kbps

iostat will give that in bps field.

bps Kilobytes transferred per second

Read man iostat.

--
Muthu
Easy to suggest when don't know about the problem!
wip
Frequent Advisor

Re: Disk I/O kbps

hi,

For a realistic approach to measuring disk IO is best taking a sample in about 7-10 sec for sar whether it is for SAN Disk or local disks,look for the trend in all the values and find out which disk is busy

sar -d 7 100

Please do assaign pionts
Arunvijai_4
Honored Contributor

Re: Disk I/O kbps

Hi Wish,

You can use iostat,.

#iostat

device bps sps msps

c2t0d0 0 0.0 1.0
c10t2d7 0 0.0 1.0
c10t3d0 0 0.0 1.0
c10t3d1 0 0.0 1.0
c10t3d2 0 0.0 1.0
c10t3d3 0 0.0 1.0
c10t3d4 0 0.0 1.0

Check # man iostat for more details.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Raj D.
Honored Contributor

Re: Disk I/O kbps

Hi Wish ,

Check with iostat bps (Kilobytes transferred per second. )

Example: If you would like to check for the disk ( c1t2d0)

# iostat 11 10 > iotest.data
# cat iotest.data | awk '{ print $2 }' | awk '{ R = R + $1} END { print "Current Data Transfer rate for : Disk [c1t2d0] =" R/10 "KB/sec" }'


Hope this will help ,
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: Disk I/O kbps

Sorry missed one thing in first line , in my last post:

In first line grep for the 'disk' you want to check for io activity, and redirect:

# iostat 11 10 | grep c1t2d0 > iotest.data


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "