大网数据广告活动
Linux 与通用命令

tuptime · 常用命令示例

· 52CE 我爱测

Report historical and statistical real time of the system, preserving it between restarts. > Like `uptime`, but extended with startups count, graceful and bad shutdowns, uptime/downtime percentages, and averages since first boot. > More information: <https://github.com/rfmoz/tupt

tuptime

Report historical and statistical real time of the system, preserving it between restarts. Like uptime, but extended with startups count, graceful and bad shutdowns, uptime/downtime percentages, and averages since first boot. More information: https://github.com/rfmoz/tuptime.

  • Show system uptime history and statistics:

tuptime

  • Show system lifetime as table:

tuptime --table

  • Show system lifetime as list:

tuptime --list

  • Show table with kernel version and boot ID:

tuptime --table --kernel --bootid

  • Report from startup range:

tuptime --table --since --until

  • Limit the report from a given number of seconds ago (e.g. one year = 31557600):

tuptime --tsince -

  • Output time in seconds and datetimes in epoch format:

tuptime --seconds

  • Report in CSV format:

tuptime --csv

来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
tldr-pages contributors
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。