Linux查找特定进程信息

命令:查找ssh进程

[root@linuxcentos ~]# ps -ef | grep ssh

执行结果

 root       1303      1  0 Apr17 ?        00:00:00 /usr/sbin/sshd
 root       3260   3087  0 Apr17 ?        00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic"
 root      24174  19508  0 11:39 pts/0    00:00:00 grep --color=auto ssh

猜你喜欢

转载自blog.csdn.net/ABCisCOOL/article/details/109291949