[TriLUG] Other ways to get to iostat data?

ablum gmail ajblumx at gmail.com
Wed Jun 1 14:55:40 EDT 2011


You might be able to get what you need from vmstat provided by the
procps package (which you have if you can run the ps command).  If you
run vmstat with -d flag it gives useful disk stats like:

# vmstat -d 1 300

disk- ------------reads------------ ------------writes-----------
-----IO------
       total merged sectors      ms  total merged sectors      ms    cur
sec


--
andrew




On Wed, 2011-06-01 at 14:47 -0400, Jason Watts wrote:
> All,
> 
> I have an interesting (to me at least) project I am working on for work.  I
> need to get disk usage stats out of a very stripped down purpose rebuilt
> redhat linux distro.  Does anyone have any insight on how/were iostat is
> pulling its data?  I cannot install new tools or I will have
> my warranty voided on some rather expensive hardware, but I am allowed to
> run my own scripts and add things to cron.  A quick google
> search didn't seem to turn up much on the inner workings of iostat  so I was
> hoping the infinite wisdom of trilug could get me going a bit further on
> this little mini project I have been tasked.
> 
> Thanks
> Jason





More information about the TriLUG mailing list