Linux 端口操作

通过pid查看端口:
netstat -antup |grep 2519


查看那个进程占用了xxx端口
lsof -i:xxx
查看进程号为xxx的进程在哪里
ps -ef|grep xxx


Linux查询端口被占用的程序
netstat -tunlp | grep 9998
ps -ef | grep 8372


Oracle查询关键字
select * from user_source a where a.TEXT like '%t_config%';

猜你喜欢

转载自jis117.iteye.com/blog/1953953