{"id":10487,"date":"2021-09-28T10:07:29","date_gmt":"2021-09-28T10:07:29","guid":{"rendered":"https:\/\/linuxways.net\/?p=10487"},"modified":"2021-09-28T10:07:29","modified_gmt":"2021-09-28T10:07:29","slug":"install-nethogs-on-linux-mint-20","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/install-nethogs-on-linux-mint-20\/","title":{"rendered":"Install NetHogs on Linux Mint 20"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>NetHogs is a Linux command-line tool that is used to monitor the network bandwidth consumed by each process or application in real-time. It is an open-source tool that can be used with almost all the available Linux flavors. However, this article will guide you through the procedure of installing and using the NetHogs utility on a Linux Mint 20 system.<\/p>\n<h2>Installing NetHogs on Linux Mint 20:<\/h2>\n<p>To install the NetHogs network bandwidth monitoring utility on a Linux Mint 20 machine, the following steps are to be performed on the target system:<\/p>\n<h3>Step # 1: Make Sure to Have an Updated System:<\/h3>\n<p>First, you need to ensure that you have an updated Linux Mint 20 system. For that, it is strongly recommended to run the \u201cupdate\u201d command shown below:<\/p>\n<pre><strong>$ sudo apt update<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"24\" class=\"wp-image-10488\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-532.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-532.png 368w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-532-300x20.png 300w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/strong><\/p>\n<h3>Step # 2: Install NetHogs on your Updated System:<\/h3>\n<p>On an updated Linux Mint 20 system, you can install the NetHogs utility simply by executing the following command:<\/p>\n<pre><strong>$ sudo apt-get install nethogs<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"27\" class=\"wp-image-10489\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-533.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-533.png 472w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-533-300x17.png 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/strong><\/p>\n<h3>Step # 3: Check the Version of the Newly Installed NetHogs Utility on your System:<\/h3>\n<p>Once you have managed to install the NetHogs utility on your system, you can check its version by running the command shown below:<\/p>\n<pre><strong>$ nethogs \u2013V<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"25\" class=\"wp-image-10490\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-534.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-534.png 331w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-534-300x23.png 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/strong><\/p>\n<p>The version of the NetHogs utility installed on our Linux Mint 20 system is shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"357\" height=\"63\" class=\"wp-image-10491\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-535.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-535.png 357w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-535-300x53.png 300w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><\/p>\n<h3>Step # 4: Find out the Options Available for using the NetHogs Utility:<\/h3>\n<p>Now, when we have the NetHogs utility installed on our system, we can check out the different options that we can use with this utility by accessing its help manual with the command shown below:<\/p>\n<pre><strong>$ nethogs --help<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"26\" class=\"wp-image-10492\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-536.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-536.png 359w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-536-300x22.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/strong><\/p>\n<p>You can visualize the help manual of the NetHogs utility in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"410\" class=\"wp-image-10493\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-537.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-537.png 642w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-537-300x192.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/p>\n<h3>Step # 5: Run the NetHogs Utility on your System:<\/h3>\n<p>Finally, for running this utility on your Linux Mint 20 system for querying the network bandwidth usage, you will have to execute the command shown below:<\/p>\n<pre><strong>$ sudo nethogs<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"342\" height=\"24\" class=\"wp-image-10494\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-538.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-538.png 342w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-538-300x21.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/strong><\/p>\n<p>The execution of this utility on a Linux Mint 20 system will produce a similar output like the one shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"150\" class=\"wp-image-10495\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-539.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-539.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-539-300x70.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<h2>Removing NetHogs from Linux Mint 20:<\/h2>\n<p>The NetHogs network bandwidth monitoring tool can be removed from a Linux Mint 20 system by executing a single command that is shown in the image below:<\/p>\n<pre><strong>$ sudo apt-get purge --autoremove nethogs<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"23\" class=\"wp-image-10496\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-540.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-540.png 556w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/09\/word-image-540-300x12.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/strong><\/p>\n<h2>Conclusion:<\/h2>\n<p>By going through the procedure explained in this guide, you will be able to install the NetHogs network bandwidth monitoring utility very easily on your Linux Mint 20 system. Hence, you will be able to get the network bandwidth usage in real-time very efficiently without any sort of hassle.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: NetHogs is a Linux command-line tool that is used to monitor the network bandwidth consumed by each process or application in real-time. It is an open-source tool&hellip;<\/p>","protected":false},"author":1,"featured_media":10633,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[129,564],"class_list":["post-10487","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-linux-mint-20","tag-nethogs"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/10487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=10487"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/10487\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/10633"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=10487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=10487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=10487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}