日期:2014-05-16  浏览次数:21564 次

Linux 查看 端口占用 磁盘空间 远程拷贝 scp

查看端口

netstat -an

?

[root@ftp /]# netstat -anp|grep java
tcp??????? 0????? 0 0.0.0.0:8266??????????????? 0.0.0.0:*?????????????????? LISTEN????? 11962/java?????????
tcp??????? 0????? 0 :::8002???????????????????? :::*??????????????????????? LISTEN????? 11962/java?????????
tcp??????? 0????? 0 :::8066???????????????????? :::*??????????????????????? LISTEN????? 11962/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:8003?????? :::*??????????????????????? LISTEN????? 20436/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:8005?????? :::*??????????????????????? LISTEN????? 18515/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:8103?????? :::*??????????????????????? LISTEN????? 11962/java?????????
tcp??????? 0????? 0 :::8009???????????????????? :::*??????????????????????? LISTEN????? 18515/java?????????
tcp??????? 0????? 0 :::8011???????????????????? :::*??????????????????????? LISTEN????? 20436/java?????????
tcp??????? 0????? 0 :::10000??????????????????? :::*??????????????????????? LISTEN????? 11962/java?????????
tcp??????? 0????? 0 :::8086???????????????????? :::*??????????????????????? LISTEN????? 20436/java?????????
tcp??????? 0????? 0 :::8888???????????????????? :::*??????????????????????? LISTEN????? 18515/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:58419????? ::ffff:127.0.0.1:3306?????? ESTABLISHED 18515/java?????????
tcp??????? 0????? 0 ::ffff:000.000000000 :44186 ::ffff:172.16.0.37:57788??? ESTABLISHED 11962/java?????????
tcp??????? 0????? 0 ::ffff:? 000.000000000 ? :50398 ::ffff: 000.000000000 :3306? ESTABLISHED 11962/java?????????
tcp??????? 0????? 0 ::ffff: 000.000000000 :51171 ::ffff:172.16.0.43:39673??? ESTABLISHED 11962/java?????????
tcp??????? 0????? 0 ::ffff: 000.000000000 :47978 ::ffff: 000.000000000 :3306? ESTABLISHED 11962/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:48738????? ::ffff:127.0.0.1:3306?????? ESTABLISHED 18515/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:45878????? ::ffff:127.0.0.1:3306?????? ESTABLISHED 18515/java?????????
tcp??????? 0????? 0 ::ffff:127.0.0.1:39391????? ::ffff:127.0.0.1:3306?????? ESTABLISHED 20436/java?????????
tcp??????? 0????? 0