Linux下查看某端口占用进程(转)

在Linux操作系统中

查看占用某一端口的进程是什么:#lsof -i:端口号
或者
netstat -apn | grep redis

猜你喜欢

转载自jzkangta.iteye.com/blog/1190479