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édente | ||
tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2010/04/01 20:42] – root | tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2012/08/04 15:07] (Version actuelle) – root | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== iftop ====== |
Ligne 23: | Ligne 23: | ||
* -c config file Spicifie un fichier de configuration alternatif | * -c config file Spicifie un fichier de configuration alternatif | ||
- | ===== Utilisation | + | ===== iftop ===== |
Il faut être root pour lancer iftop. | Il faut être root pour lancer iftop. | ||
Ligne 47: | Ligne 47: | ||
* Par host : | * Par host : | ||
- | < | + | < |
* Divers : | * Divers : | ||
< | < | ||
+ | |||
+ | ===== nethogs ===== | ||
+ | |||
+ | Monitore la bande passante par processus. | ||
+ | |||
+ | nethogs -i eth0 | ||
+ | |||
+ | < | ||
+ | 25110 www-data python | ||
+ | 24484 www-data python | ||
+ | 22424 www-data python | ||
+ | 24625 www-data apache2 | ||
+ | 24538 www-data python | ||
+ | 25603 www-data apache2 | ||
+ | 26217 www-data apache2 | ||
+ | 25126 www-data apache2 | ||
+ | 21747 www-data apache2 | ||
+ | 25629 www-data apache2 | ||
+ | 24506 www-data python | ||
+ | 24465 www-data python | ||
+ | </ | ||
+ | |||
+ | ====== 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.1270154562.txt.gz · Dernière modification : 2010/04/01 20:42 de root