how to count %util from iostat ?
- From: "Karpiozoo@xxxxxxxxx" <Karpiozoo@xxxxxxxxx>
- Date: Wed, 13 Feb 2008 02:43:48 -0800 (PST)
Hi
If someone know how to count %util value from iostat will be nice if
you share this informaction with me.
What I know ?
util=S_VALUE( ioj->ticks, ioi->tot_ticks, itv )
S_VALUE (ioj->ticks - ioi->tot_ticks / itv * 100)
and here is my problem, I don't know what is ioi->tot_ticks and from
where to taki it ?
tot_ticks - of ticks total (for this device ) for I/O
From where I will be know which disk will be counting ??and from where i have to takie ticks for this device ??
/proc/diskstats /proc/stat ???
Thx
.
- Prev by Date: frame buffer state of the art?
- Next by Date: [Commercial] Training on Linux System and Kernel Programming from Professionals
- Previous by thread: frame buffer state of the art?
- Next by thread: [Commercial] Training on Linux System and Kernel Programming from Professionals
- Index(es):
Relevant Pages
|