Solved

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

Posted on 2014-02-14
4
273 Views
Last Modified: 2014-02-23
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
Comment
Question by:saarmstrong
  • 2
4 Comments
 
LVL 40

Expert Comment

by:noci
ID: 39861108
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
 
LVL 62

Expert Comment

by:gheist
ID: 39868940
Set up network logging only and:
sysctl vm.block_dump=1

It will dump all IO requests to remote syslog.
0
 

Accepted Solution

by:
saarmstrong earned 0 total points
ID: 39869055
iostat -dkx 1 >> file.txt

this was the solution
0
 

Author Closing Comment

by:saarmstrong
ID: 39880400
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question