linux load

The load is composed of three parts: CPU usage, memory usage, and IO consumption.

1. cat /proc/loadavg
0.27 0.36 0.37 4/83 4828/

parameter meaning
a. Average load: 0.54, 0.40, 0.20
Last 1 minute, 5 minutes, 15 minutes system Load

b. Number of processes: 4/83
The numerator is the number of running processes, and the denominator is the total number of processes

c. Process ID: 4828
The ID number of the most recently running process

2, uptime
name: uptime
permission: all users
Usage : uptime [-V]
Description: uptime provides the user with the following information, no other parameters are required:
the current time the system is powered on and the time elapsed since the number of users connected to the system in the last minute, five minutes, and fifteen minutes.
Parameters : -V Display version information.
Example: uptime
10:41am up 5 days, 10 min, 1 users, load average: 0.00, 0.00, 1.99

Parameter meaning
a. Current time 04:03:58

b. System running time 10 days, 13:19

c. Former online user 1 user

d. Average load: 0.54, 0.40, 0.20
System load in the last 1 minute, 5 minutes, and 15 minutes

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326418078&siteId=291194637