"uptime "命令可以直接显示系统已经运行了多少小时 ,但嵌入式系统可能把这个命令裁掉了
/proc/uptime 提供了系统最近一次启动以来运行的时间
65.59 0.26
里面的两个数字分别表示:
the uptime of the system (seconds), and the amount of time spent in idle process (seconds).
"uptime "命令可以直接显示系统已经运行了多少小时 ,但嵌入式系统可能把这个命令裁掉了
/proc/uptime 提供了系统最近一次启动以来运行的时间
65.59 0.26
里面的两个数字分别表示:
the uptime of the system (seconds), and the amount of time spent in idle process (seconds).