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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux