Viewing server load and server uptime

Expertise level: Easy

To know the server load and uptime, use the following procedure:

  1. Login with SSH as root.
  2. Use the command "uptime" to view the server uptime and the current server load.
[root ~]# uptime
12:30:00 up 14:23, 0 users, load average: 0.07, 0.10, 0.09
[root ~]#


In this example, it shows that the server was up and running for the last 14 hours and 23 minutes.

The load average was 0.07 for the last  minute, 0.10 for the last five minutes and 0.09 for the last 15 minutes.

You can also use the command w to retrieve the same information and more.


What is the "normal" load the server should have?

We should count 2.0 for each "core" of the server. For a server having one "quad-core" processor, the normal load of the server should be 8.00.

If the load goes to higher values, there can be something wrong in most of the cases. In such cases, you should use the performance monitoring commands like "top" to see what are the processes that uses a lot of the server's resources.


Article is closed for comments.
Powered by Zendesk