{"id":2964,"date":"2024-06-11T11:29:45","date_gmt":"2024-06-11T05:59:45","guid":{"rendered":"https:\/\/www.nettigritty.com\/kb\/?p=2964"},"modified":"2024-06-23T20:45:32","modified_gmt":"2024-06-23T15:15:32","slug":"how-to-install-and-use-iftop-on-linux-servers","status":"publish","type":"post","link":"https:\/\/www.nettigritty.com\/kb\/linux\/how-to-install-and-use-iftop-on-linux-servers\/","title":{"rendered":"How to install iftop on Linux Servers"},"content":{"rendered":"<p>Installing iftop on a Linux system is straightforward and can be done using the package manager specific to your distribution. Here are the steps for some common Linux distributions:<\/p>\n<h3>On Debian-based systems (e.g., Ubuntu):<\/h3>\n<p>Update the package list:<\/p>\n<div>\n<pre>sudo apt update<\/pre>\n<div>Install iftop:<\/div>\n<\/div>\n<pre>sudo apt install iftop<\/pre>\n<h3>On Red Hat-based systems (e.g., CentOS, Fedora, AlmaLinux, CloudLinux):<\/h3>\n<ol>\n<li>For CentOS\/RHEL\/AlmaLinux\/CloudLinux:\n<ul>\n<li>You may need to enable the EPEL (Extra Packages for Enterprise Linux) repository first:\n<pre> sudo yum install epel-release<\/pre>\n<div>\n<div dir=\"ltr\"><\/div>\n<\/div>\n<\/li>\n<li>Then install iftop:\n<pre> sudo yum install iftop<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li>For Fedora:\n<pre> sudo dnf install iftop<\/pre>\n<\/li>\n<\/ol>\n<h3>On Arch Linux:<\/h3>\n<ol>\n<li>Install iftop using pacman:\n<pre> sudo pacman -S iftop<\/pre>\n<\/li>\n<\/ol>\n<h3>On openSUSE:<\/h3>\n<p>Install iftop using zypper:<\/p>\n<pre>sudo zypper install iftop<\/pre>\n<h3>Verification:<\/h3>\n<p>After installation, you can verify that iftop is installed by running:<\/p>\n<div>\n<div dir=\"ltr\">iftop -h<\/div>\n<\/div>\n<p>This should display the help message for iftop, indicating that the installation was successful.<\/p>\n<p>If you encounter any issues or need to install from source, you can download the source code from the <a target=\"_new\" rel=\"noreferrer noopener\">official iftop website<\/a> and follow the instructions provided there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing iftop on a Linux system is straightforward and can be done using the package manager specific to your distribution. Here are the steps for some common Linux distributions: On Debian-based systems (e.g., Ubuntu): Update the package list: sudo apt update Install iftop: sudo apt install iftop On Red Hat-based systems (e.g., CentOS, Fedora, AlmaLinux, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2964","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/comments?post=2964"}],"version-history":[{"count":7,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2964\/revisions"}],"predecessor-version":[{"id":3000,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2964\/revisions\/3000"}],"wp:attachment":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/media?parent=2964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/categories?post=2964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/tags?post=2964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}