Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

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
0
saarmstrong
Asked:
saarmstrong
  • 2
1 Solution
 
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:
iostat -dkx 1 >> file.txt

this was the solution
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now