tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2010/04/01 20:40] – root | tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2011/04/10 09:15] – root | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== iftop ====== |
Ligne 28: | Ligne 28: | ||
exemple: | exemple: | ||
- | | + | < |
- | * Par protocole : | + | |
- | iftop -f icmp | + | < |
- | iftop -f tcp | + | iftop -f icmp |
- | iftop -f udp | + | iftop -f tcp |
+ | iftop -f udp | ||
+ | </ | ||
- | * Par réseau : | + | |
- | iftop -F 192.168.1.0/ | + | < |
- | * Par ports : | + | |
- | iftop -f 'port 80' | + | < |
- | iftop -f 'not port domain' | + | iftop -f 'port 80' |
+ | iftop -f 'not port domain' | ||
+ | </ | ||
- | * Par host : | + | |
- | | + | < |
- | * Divers : | + | |
- | | + | < |
+ | |||
+ | ====== pktstat ====== | ||
+ | |||
+ | pktstat -i eth0 -n -t | ||
+ | |||
+ | pktstat -i eth0 -n -t "port 80" | ||
+ | |||
+ | Example output: | ||
+ | < | ||
+ | interface: eth0 | ||
+ | | ||
+ | 695.0k | ||
+ | └ GET / | ||
+ | 531.0k | ||
+ | └ GET / | ||
+ | 181.2k | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ |
tuto/linux/voir_l_etat_de_la_bande_passante_en_ligne_de_commande.txt · Dernière modification : 2012/08/04 15:07 de root