RC-50221 问题解决 - netstat 查看端口占用情况
时间:2014-06-06 08:22:31
收藏:0
阅读:252
查看端口占用情况
netstat -an|grep LIST|grep 15
数据库监听占用情况。
netstat -an|grep 1521 1521为端口号
netstat -an|grep 1521 1521为端口号
使用如下语句kill占用端口的进程
linux下杀掉占用端口的进程
ps -efww|grep appltest|grep -v grep|cut -c 9-15|xargs kill -9
ps -efww|grep appltest|grep -v grep|cut -c 9-15|xargs kill -9
AIX下杀掉占用端口的进程
ps -ef | grep "appltest" | grep -v grep | awk ‘{print $2}‘ | xargs kill -9
ps -ef | grep "appltest" | grep -v grep | awk ‘{print $2}‘ | xargs kill -9
评论(0)