Find the answer to your Linux question:
Results 1 to 3 of 3
what is difference between cpu load and cpu percentage in linux how to check these both?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    32

    what is difference between cpu load and cpu percentage in linux?


    what is difference between cpu load and cpu percentage in linux how to check these both?

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    14
    Quote Originally Posted by yaswanth4b7 View Post
    what is difference between cpu load and cpu percentage in linux how to check these both?
    you can use a command called "uptime" to check the server load. It will show several numbers.
    19:51 up 2 days, 10:15, 6 users, load averages: 2.96 2.40 2.31
    The first is how long the machine has been running.
    The second is total users.
    The load avg's are in three numbers.
    The first is 1 minute average
    The second is 5 min average
    The third is 15 min average
    The purpose is to see the stress on the server. Keeping the load down is the key as load times higher can lock up the ssh terminal and you won't be able to login as it cannot respond fast enough.

    You can use a command called "top" to check the cpu load percentage.
    In the upper left is a CPU percentage. If you hit the 1 key on your keyboard it will expand to show percentages for all cpu's if more are available.

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Location
    Silver Spring, MD
    Posts
    95

    CPU definitions

    Quote Originally Posted by yaswanth4b7 View Post
    what is difference between cpu load and cpu percentage in linux how to check these both?
    Check out this site, they good a good job at explaining load averages - Understanding Linux CPU Load - when should you be worried?

    The way to check them would be to do the following:

    Code:
    top -d 3 # Refreshes the system every 3 seconds
    or

    Code:
    vmstat -n 5 5 # Checks the system 5 times every 5 seconds

Posting Permissions

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