查看进程运行时间
应用ps命令,加选项-Ao,加参数,最后过滤。
ps -Ao pid,tty,user,stime,etime,comm,args| grep firefox
pid:进程IDtty:终端user:用户stime:开始时间etime:运行时间comm:进程名args:命令
查看进程运行时间
应用ps命令,加选项-Ao,加参数,最后过滤。
ps -Ao pid,tty,user,stime,etime,comm,args| grep firefox
pid:进程IDtty:终端user:用户stime:开始时间etime:运行时间comm:进程名args:命令
该资源仅限VIP专享下载