最近使用Linux常用到几个指令记录一下:
查看进程pid
pgrep xxx
kill -9 pid
查看僵尸pid
ps aux|grep xxx
ps -ef|grep xxx
查找文件
find / -name xxxx
查看僵尸进程
ps -A -o stat,ppid,pid,cmd |grep -e "^[Zz]" (未验证)
最近使用Linux常用到几个指令记录一下:
查看进程pid
pgrep xxx
kill -9 pid
查看僵尸pid
ps aux|grep xxx
ps -ef|grep xxx
查找文件
find / -name xxxx
查看僵尸进程
ps -A -o stat,ppid,pid,cmd |grep -e "^[Zz]" (未验证)