Solved

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

Posted on 2014-02-14
4
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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