- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
uptime [options]
下面是该工具的手册页解释它的方式:
uptime gives a one line display of the following information. The current 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.
下面的问答样例应该能让你更好地了解正常运行时间命令的工作原理。
正常运行时间的基本使用非常简单 - 只需编写命令的名称,然后按回车即可。
uptime
这是工具产生的输出类型:
如何使用正常运行时间命令
因此,第一个条目是当前时间,然后“上”显示系统正在运行,5:53是系统已经启动的总时间,最后是系统负载平均值。 以防万一你想知道更多,这里是正常运行时间手册页上最后一项说:
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.
如果你只是想知道系统已经启动的时间,并且也是以一种更易读的格式,使用-p命令行选项。
uptime -p
售前咨询
售后咨询
备案咨询
二维码
TOP