查看占用某一端口的进程是什么:#lsof -i:端口号
例如:
linux-vdto:~ # lsof -i:1352
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
server 5445 notes 14u IPv4 2237286 TCP *:lotusnote (LISTEN)
server 5445 notes 136u IPv4 2522072 TCP linux-vdto.site:lotusnote->10.3.44.34:50571 (ESTABLISHED)
时间: 2024-10-01 03:25:33