ps

来源:互联网 发布:2016淘宝刷单方法 编辑:程序博客网 时间:2024/04/27 19:38

ps aux | grep xxx

a 所有用户?

u 当前用户?

x 后台程序?

参考:http://blog.163.com/lgh_2002/blog/static/44017526201110291093422/



ps -A -opid,lstart,stime,etime,args |grep xxx

-A 所有进程

lstart 启动时间完整版,l -> long

args  进程启动的命令

参考:http://www.2cto.com/os/201209/156162.html



0 0