lsof命令

weixin_39685022發表於2020-10-20

檢視埠:
test@localhost:~$ sudo lsof -nP -iTCP:8888
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
in.telnet 3859 telnetd 0u IPv4 20880 0t0 TCP 192.168.1.15:8888->192.168.1.16:3215 (ESTABLISHED)
in.telnet 3859 telnetd 1u IPv4 20880 0t0 TCP 192.168.1.15:8888->192.168.1.16:3215 (ESTABLISHED)
in.telnet 3859 telnetd 2u IPv4 20880 0t0 TCP 192.168.1.15:8888->192.168.1.16:3215 (ESTABLISHED)
inetd 4035 root 4u IPv4 21583 0t0 TCP *:8888 (LISTEN)
test@localhost:~$

相關文章