Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I want to read CPU load on linux fedora 10. i know some bash command such as top,uptime, mpstat, or by "cat /proc/loadavg" . these commands are telling load ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    1

    LQ Newbie Registered: Jun 2009 Posts: 1 Thanked: 0 CPU instant load


    Hi
    I want to read CPU load on linux fedora 10. i know some bash command such as top,uptime, mpstat, or by "cat /proc/loadavg" . these commands are telling load average for 1 , 5 and 15 last minutes. but i need the instant load or at least the load average for 1 last second. i'm too confused about this.

    could you please tell me what is the difference between " cpu load " and " cpu utilization " ?

    by the top command , there are some other information about cpu states such as user , system , nice and ... . i need 1 number for cpu load.

    please help me.
    thank u.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    use vmstat to get current CPU information
    Code:
    vmstat 1
    outputs the result every 1 second

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •