一般过了当天好像就只能显示启动日期了,看不到启动时间
ps -e -o pid,etime,comm
多man一下ps。很多命令。。。
etime In the POSIX locale, the elapsed time since the process was started, in the form:
[[dd-]hh:]mm:ss
where
dd is the number of days
hh is the number of hours
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
ps -e -o pid,etime,comm
多man一下ps。很多命令。。。
etime In the POSIX locale, the elapsed time since
the process was started, in the form:
[[dd-]hh:]mm:ss
where
dd is the number of days
hh is the number of hours