Linux Command uptime

Source: Internet
Author: User

Linux Command uptime
The uptime command is used to query linux system loads.


Command Format
Uptime [OPTION]
-V display version


The system load is directly output by uptime without parameters.
What is system load?
The average system load is defined as the average process tree in the running queue within a specific time interval. If a process meets the following conditions, it will be in the running queue:
-It has no results waiting for I/O operations.
-It does not take the initiative to enter the waiting state (that is, it does not call 'wait ')
-Not stopped (for example, waiting for termination)
Generally, if the number of active processes per CPU core is no greater than 3, the system runs well! Of course, this is about every cpu kernel, that is, if your host is a quad-core cpu, as long as the number of characters output by uptime is smaller than 12, the system load is not very serious.
Of course, if it reaches 20, it indicates that the current system load is very serious. It is estimated that the web script is very slow to be opened.


Uptime command result description
16:47:41 up, 2 users, load average: 0.00, 0.01, 0.05
Current time the system has run time the average load of current online users: the load of the system in the last 1 minute, 5 minutes, and 15 minutes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.