Re: CPU usage with iostat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/26/10 5:47 AM, Bruno Galindro da Costa wrote:
> Hi,
>
>    Why the first execution of "iostat -c" always displays the same values?
>
> Reading the man pages os iostat, I could not understand these lines:
>
> /"The  first  report  generated  by the iostat command provides 
> statistics concerning the time since the system was booted. Each 
> subsequent report covers the time since the previous report."
> "The first report contains statistics for the time since system 
> startup (boot). Each subsequent report contains statistics collected 
> during the interval since the previous report."/
>
> *Why it can´t build a report with the current usage values at the 
> first execution?*
>
Because that is the way it was designed.  Most statistics programs 
record what has happened either since the last time they were run or 
from system start.  Analysts wanted it that way.  Maybe you can ask the 
folks that designed the program to do startup 'snapshots' by entering a 
numeric value.  That should not be so hard, but this will alter the 
programs functioning from what it used to be.

James McKenzie

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux