[root@xr-scrm-pre-01 12255]# netstat -tuln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 10.0.1.156:5601 0.0.0.0:* LISTEN
tcp6 0 0 :::49100 :::* LISTEN
tcp6 0 0 :::49102 :::* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::9200 :::* LISTEN
tcp6 0 0 :::37873 :::* LISTEN
tcp6 0 0 :::9300 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::8088 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::8123 :::* LISTEN
tcp6 0 0 :::9990 :::* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 127.0.0.1:323 0.0.0.0:*
udp 0 0 0.0.0.0:794 0.0.0.0:*
udp6 0 0 :::59351 :::*
udp6 0 0 :::43099 :::*
udp6 0 0 :::35500 :::*
udp6 0 0 :::111 :::*
udp6 0 0 ::1:323 :::*
udp6 0 0 fe80::f816:3eff:fe6:546 :::*
udp6 0 0 :::794 :::*
udp6 0 0 :::58701 :::*
[root@xr-scrm-pre-01 12255]# fuser 5601/tcp
5601/tcp: 12255
[root@xr-scrm-pre-01 12255]# ps axu | grep 12255
es 12255 1.8 2.1 1222400 344756 ? Sl Jun25 533:40 /opt/es/kibana-7.14.2-linux-x86_64/node/bin/node --preserve-symlinks-main --preserve-symlinks /opt/es/kibana-7.14.2-linux-x86_64/src/cli/dist
root 21428 0.0 0.0 112816 980 pts/6 S+ 14:16 0:00 grep --color=auto 12255
[root@xr-scrm-pre-01 12255]#
linux根据端口号找到具体应用
最新推荐文章于 2024-07-16 12:57:18 发布