This is an old revision of the document!


04. [15p] Monitoring Bandwidth Used by Processes

Nethogs is a small 'net top' tool that shows the bandwidth used by individual processes and sorts the list putting the most intensive processes on top. Nethogs returns the PID, user and the path of the program.

[10p] Task A - Monitoring the behaviour

Open a data streaming website (example: youtube.com) and start downloading/playing content. Use nethogs (sudo apt-get install nethogs) to find the process that uses most of the bandwidth and kill it.

:!: :!: NON-DEMO TASK

Use nethogs to find the process that uses most of the bandwidth on the primary interface(eth0) and set the refresh rate to 5 seconds. Add the command and a picture with the output generated by nethogs.

ep/labs/04/contents/tasks/ex4.1604433351.txt.gz ยท Last modified: 2020/11/03 21:55 by gheorghe.petre2608
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0