Linux:如何查看一个进程详细的启动时间



Linux:如何查看一个进程详细的启动时间
 
ps -A -opid,stime,etime,args 
 
其中:  www.2cto.com  
 
-A: Select all processes. Identical to -e.
 
-o: user-defined format.
 
pid: 列出进程号
 
stime: start time
 
etime: elapse time
 
args: 命令信息
  www.2cto.com  
当然,也可以到/proc/pid中查看.

相关内容

    暂无相关文章