Outils pour utilisateurs

Outils du site


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.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2011/04/10 09:15] roottuto:linux:voir_l_etat_de_la_bande_passante_en_ligne_de_commande [2012/08/04 15:07] (Version actuelle) root
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 :
-<code>iftop-f 'host webcache.example.com'+<code>iftop -f 'host webcache.example.com'
  
   * Divers :   * Divers :
 <code>iftop -f 'port http and not host webcache.example.com'</code> <code>iftop -f 'port http and not host webcache.example.com'</code>
 +
 +===== nethogs =====
 +
 +Monitore la  bande passante par processus.
 +
 +nethogs -i eth0
 +
 +<code>
 +25110 www-data python                      eth0     464.267      9.722 KB/sec
 +24484 www-data python                      eth0       3.055      3.188 KB/sec
 +22424 www-data python                      eth0      33.251      1.388 KB/sec
 +24625 www-data apache2                     eth0       0.123      0.575 KB/sec
 +24538 www-data python                      eth0       0.090      0.153 KB/sec
 +25603 www-data apache2                     eth0       0.011      0.023 KB/sec
 +26217 www-data apache2                     eth0       0.011      0.023 KB/sec
 +25126 www-data apache2                     eth0       0.011      0.023 KB/sec
 +21747 www-data apache2                     eth0       0.011      0.023 KB/sec
 +25629 www-data apache2                     eth0       0.011      0.023 KB/sec
 +24506 www-data python                      eth0       0.000      0.000 KB/sec
 +24465 www-data python                      eth0       0.000      0.000 KB/sec
 +</code>
  
 ====== pktstat ====== ====== pktstat ======
tuto/linux/voir_l_etat_de_la_bande_passante_en_ligne_de_commande.1302426924.txt.gz · Dernière modification : 2011/04/10 09:15 de root