![]() ![]() And, with every keypress ( m) event it would switch modes for us. Where, value of n can be any of the following –įor instance, to get the view mode in Total KB use – sudo nethogs -v 1Īlternately, if you don’t want to change view modes this way then, press m after you launch NetHogs. We can change that as shown below – sudo nethogs -v n By default it shows – view mode as 0 (0 KB/s). And, rest columns would be shown depending on the configuration you chose in the beginning. Just below that, we see four columns at least – PID, USER, PROGRAM and DEV. The first thing you notice at top left is the version number installed. Hence, open a terminal and issue the following – sudo apt updateĪnd, to install NetHogs – sudo apt install nethogs Monitor Bandwidth usage by Process with NetHogsįollowing command would run the utility in terminal – sudo nethogs So, all we need to do is – update the repository and install the package through following commands. NetHogs package is a part of standard Ubuntu repository. ![]() In case you don’t have one then, we advise you to contact your System Administrator for assistance. Note: Following operations require superuser privileges. We cover NetHogs package installation steps next. For now, we turn our focus to identify the process first. How to reduce the bandwidth available to a process is something which we reserve for later (i.e. That way, we can efficiently utilize the available bandwidth. So, we can just limit a process and postpone the task if we find it okay to do so. One of the advantages of tracking Bandwidth usage by process is that – We can identify the process and reason of such bandwidth usage. So, to monitor bandwidth usage by Process in Ubuntu – we can use Nethogs command-line utility. And, we don’t understand the process which is causing it. It has happened to most of us that, all of a sudden we see a spike in bandwidth usage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |