命令作用
tell how long the system has been running (显示系统已经运行的时间)
命令的格式
uptime
uptime -V
显示uptime程序的版本信息。
命令实例
命令输入: uptime
命令输出: 21:42:41 up 3 days, 22:07, 4 users, load average: 1.07, 1.04, 0.91
上面的输出内容分别是:
1. 系统的当前时间,
2. 系统已经运行的时间
3. 当前登录系统的用户数量
4. 系统在过去的1, 5和15分钟的系统负载