Outils pour utilisateurs

Outils du site


issue101:quick_tip

Ceci est une ancienne révision du document !


Quick Tip by Andy Lino If you have a machine and you see the graphs peak but you don't know who is using the bandwidth, try this at the console: sudo iftop ­i eth0 iftop has been built in to Ubuntu for several versions now. iftop: display bandwidth usage on an interface by host Synopsis: iftop ­h | [­npblNBP] [­i interface] [­f filter code] -­h display this message -­n don't do hostname lookups -­N don't convert port numbers to services -­p run in promiscuous mode (show traffic between other -­b don't display a bar graph of traffic -­B Display bandwidth in bytes -­i interface listen on named interface -­f filter code use filter code to select packets to count -­F net/mask show traffic flows in/out of IPv4 network -­G net6/mask6 show traffic flows in/out of IPv6 network -­l display and count link­local IPv6 traffic (default: off) -­P show ports as well as hosts -­m limit sets the upper limit for the bandwidth scale -­c config file specifies an alternative configuration file iftop, version 1.0pre2 copyright © 2002 Paul Warren <pdw@ex­parrot.com> and contributors As you can see, this tool can give you the output to IPv4 and IPv6 traffic, and also it should help you find out where your bandwidth is being used whether upstream, or downstream.

Astuce rapide Par Andy Lino Si sur une machine vous constatez des pics de connexion sans savoir qui utilise la bande passante. Essayez ceci dans la console :

sudo iftop ­i eth0

iftop est disponible dans Ubuntu depuis maintenant plusieurs versions.

iftop: display bandwidth usage on an interface by host

Synopsis: iftop ­h | [­npblNBP] [­i interface] [­f filter code]

-­h display this message -­n don't do hostname lookups -­N don't convert port numbers to services -­p run in promiscuous mode (show traffic between other -­b don't display a bar graph of traffic -­B Display bandwidth in bytes -­i interface listen on named interface -­f filter code use filter code to select packets to count -­F net/mask show traffic flows in/out of IPv4 network -­G net6/mask6 show traffic flows in/out of IPv6 network -­l display and count link­local IPv6 traffic (default: off) -­P show ports as well as hosts -­m limit sets the upper limit for the bandwidth scale -­c config file specifies an alternative configuration file

iftop, version 1.0pre2 copyright © 2002 Paul Warren <pdw@ex­parrot.com> and contributors

Comme vous pouvez le constater, cet outil vous informe sur le trafic IPv4 et IPv6 et devrait aussi vous aider à déterminer comment la bande passante est utilisée, montante ou descendante.

issue101/quick_tip.1444720320.txt.gz · Dernière modification : 2015/10/13 09:12 de lejimi