Home > Archives > linux 网络诊断常用命令

linux 网络诊断常用命令

Publish:

1
2
3
4
5
6
7
8
9
10
11
[root@baoguo ~]# iftop
[root@baoguo ~]# ip addr
[root@baoguo ~]# ip route
[root@baoguo ~]# hostname
[root@baoguo ~]# cat /etc/resolv.conf
[root@baoguo ~]# netstat -antup 
[root@baoguo ~]# iftop -i eth0 -P 
[root@baoguo ~]# netstat -tunlp |grep 53696
[root@baoguo ~]# netstat -nao | grep 100.100.30.54
[root@baoguo ~]# netstat -antpl | grep 100.100.30.54
[root@baoguo ~]# watch -n 1 " netstat -antpl |grep 100.100.30.54 " 

声明: 本文采用 BY-NC-SA 授权。转载请注明转自: Ding Bao Guo