ps -ef | grep 进程
pgrep -f 进程
netstat -tunlp | grep 端口号
netstat -anp |grep 端口号
netstat -aon | findstr “6001”
tasklist | findstr “12780”
本文介绍了几个在Linux系统中用于查找和分析进程的命令,如使用ps-ef|grep进程查找特定进程,pgrep-f进程基于匹配模式找进程,以及利用netstat结合端口号查看网络连接状态,例如netstat-tunlp|grep端口号和netstat-anp|grep端口号。此外,还提到了用tasklist|findstr进程号在Windows系统中查找进程。
ps -ef | grep 进程
pgrep -f 进程
netstat -tunlp | grep 端口号
netstat -anp |grep 端口号
netstat -aon | findstr “6001”
tasklist | findstr “12780”
6727
3424

被折叠的 条评论
为什么被折叠?