Linux:如何查看一個進程的詳細的啓動時間

ps -A -opid,stime,etime,args 

其中:

-A: Select all processes. Identical to -e.

-o: user-defined format.

pid: 列出進程號

stime: start time

etime: elapse time

args: 命令信息


當然,也可以到/proc/pid中查看.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章