参考文档:https://cloud.tencent.com/developer/article/2015386
$ ps -p 8299 -o etime ELAPSED 04:05:37
etimes 关键字查看经过的时间(以秒为单位)
$ ps -p 8299 -o etimes ELAPSED 14749
root@iZbp17vtxix5g4yzk4lxc3Z:/data/server_add# ps -p 589257 -o etime ELAPSED 14:10:55 root@iZbp17vtxix5g4yzk4lxc3Z:/data/server_add# ps -p 447092 -o etime ELAPSED 2-22:40:14
标签:ps,查看,etimes,ELAPSED,8299,linux,进程,etime From: https://www.cnblogs.com/rtnb/p/16634748.html