LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-07-2016, 09:13 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
iozone - how to to specify output in MB/sec isntead of KB/sec?


I can't seem to find what the argument for that is. The output is in KB/sec but that generates super huge numbers that are harder to interpret especially given there is no comma separator for thousands. Is there a way to make it output in MB/s or even GB/s instead?
 
Old 02-08-2016, 01:46 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You forgot to tell what application you have in mind.
 
Old 02-08-2016, 02:56 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Not sure what you mean. It's just a program to benchmark disk/volume performance. I'm just looking for a way to tell it to display results in MB/sec instead of KB/sec so it's more readable.
 
Old 02-09-2016, 01:24 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
If it doesn't offer the alternate scaling, you are at liberty to do it yourself on the output. awk, perl or any number of other languages.
printf supports a modifier that will even add the (locale dependent) thousand separator for you.

Taking care of invariant rows and/or columns, along with column alignment would probably cause the most grief.
 
Old 02-09-2016, 06:51 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Well was hoping not to have to do that, but if I had to automate it then it would not be an issue. I guess I'll just deal with having to manually figure it out it's not like it's a tool I use that often. I was benchmarking various raid arrays and it was just a pain as it's harder to quickly figure out what the readings are when glancing at lot of results
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP-Sec papagal40 Linux - Security 2 08-01-2012 03:02 AM
know about internet(in 1 sec.) munna_dude Linux - Networking 4 06-13-2007 06:01 AM
Mandrake 10 Internet very slow (<1kb/sec) while windows got 50k/sec SafeTechs Mandriva 13 09-01-2006 04:07 PM
more complaints to the SEC jailbait General 1 06-22-2004 03:00 PM
hdparm 64MB in 19.68 sec=3.25 MB/sec illtbagu Linux - General 11 06-26-2003 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration