uptime (1) - Tell how long the system has been running.
-p, --pretty show uptime in pretty format
-s, --since system up since
[root@OS7 ~]# uptime
06:14:19 up 1 day, 8:10, 1 user, load average: 0.00, 0.02, 0.05
[root@OS7 ~]# uptime -p
up 1 day, 8 hours, 10 minutes
[root@OS7 ~]# uptime -s
2021-06-28 22:04:13
uptime 系统上线时长
最新推荐文章于 2025-09-18 16:43:20 发布
本文介绍了一个简单的命令行工具uptime,用于显示系统已经运行了多久。文章通过实例演示了如何使用uptime命令的不同选项来获取系统运行时间的信息,包括总运行时间、格式化显示以及系统启动时间。
1037

被折叠的 条评论
为什么被折叠?



