Solved

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

Posted on 2014-02-14
4
275 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

724 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