How to capture IO size on Suse and put it in a file?

Hi,

I am looking to get the disk information on my Suse Enterprise 11 SP2 box.

Here are things that I need:

1- Disk Read Operations per second (read IOP/Sec)
2- Disk Write Operation per second (Write IOP/Sec)
3- Average Block Size per second (Read and Write IOP size average per Second)
4- Read and Write Latency Per second.


I have looked at iostat command. It is wonderful but there is one issue. Its not easy to put the output into a file for later parsing.

Is there any suggestion that I could use?

Thanks
saarmstrongAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
saarmstrongConnect With a Mentor Author Commented:
iostat -dkx 1 >> file.txt

this was the solution
0
 
nociSoftware EngineerCommented:
sysstat comes to mind..
http://pagesperso-orange.fr/sebastien.godard/

that keeps a lot of statistics in files. I thinks it is worth a look.
0
 
gheistCommented:
Set up network logging only and:
sysctl vm.block_dump=1

It will dump all IO requests to remote syslog.
0
 
saarmstrongAuthor Commented:
there were other ways to do it using a while loop but i had no clue that iostat allows an argument for time interval and with that i was able to redirect to a file
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.