linux常用命令
netstat
netstat -npl | grep 或者netstat -anp|grep
-n:numeric
-p programs
-l listening
-a allps
ps -ef | grep
-e : all
-f 显示uid pid ppid
netstat
netstat -npl | grep 或者netstat -anp|grep
-n:numeric
-p programs
-l listening
-a all
ps
ps -ef | grep
-e : all
-f 显示uid pid ppid