uptime
作者:互联网
[root@localhost ~]# uptime
13:52:13 up 16 min, 3 users, load average: 0.09, 0.09, 0.07
UPTIME(1) User Commands UPTIME(1)
NAME
uptime - Tell how long the system has been running.
SYNOPSIS
uptime [options]
DESCRIPTION
uptime gives a one line display of the following information. The cur‐
rent time, how long the system has been running, how many users are
currently logged on, and the system load averages for the past 1, 5,
and 15 minutes.
This is the same information contained in the header line displayed by
w(1).
System load averages is the average number of processes that are either
in a runnable or uninterruptable state. A process in a runnable state
is either using the CPU or waiting to use the CPU. A process in unin‐
terruptable state is waiting for some I/O access, eg waiting for disk.
The averages are taken over the three time intervals. Load averages
are not normalized for the number of CPUs in a system, so a load aver‐
age of 1 means a single CPU system is loaded all the time while on a 4
CPU system it means it was idle 75% of the time.
ps:
System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable state is either using the CPU or waiting to use the CPU. A process in uninterruptable state is waiting for some I/O access, eg waiting for disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of CPUs in a system, so a load average of 1 means a single CPU system is loaded all the time while on a 4 CPU system it means it was idle 75% of the time.
系统平均负载是处于可运行或不可中断状态的进程的平均数量。处于可运行状态的进程正在使用CPU或正在等待使用CPU。处于不可中断状态的进程正在等待某些I/O访问,如等待磁盘。在三个时间间隔内取平均值。负载平均值不是对系统中CPU数量进行标准化处理的,所以平均负载为1意味着单个CPU系统一直处于加载状态,而在4 CPU系统上则意味着它有75%的时间处于空闲状态。
标签:uptime,state,system,waiting,time,averages,CPU 来源: https://www.cnblogs.com/hanjun126/p/15185010.html