How To Install nmon on Kali Linux

In this tutorial we learn how to install nmon on Kali Linux. nmon is performance monitoring tool for Linux

Introduction

In this tutorial we learn how to install nmon on Kali Linux.

What is nmon

nmon is:

nmon is a systems administrator, tuner, benchmark tool. It can display the CPU, memory, network, disks (mini graphs or numbers), file systems, NFS, top processes, resources (Linux version & processors) and on Power micro-partition information.

Data is displayed on the screen and updated once every two seconds, using a dumb screen. However, you can easily change this interval to a longer or shorter time period.

The nmon tool can also capture the same data to a text file for later analysis and graphing for reports. The output is in a spreadsheet format (.csv).

There are three methods to install nmon on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nmon Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nmon using apt-get by running the following command:

sudo apt-get -y install nmon

Install nmon Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nmon using apt by running the following command:

sudo apt -y install nmon

Install nmon Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nmon using aptitude by running the following command:

sudo aptitude -y install nmon

How To Uninstall nmon on Kali Linux

To uninstall only the nmon package we can use the following command:

sudo apt-get remove nmon

Uninstall nmon And Its Dependencies

To uninstall nmon and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nmon

Remove nmon Configurations and Data

To remove nmon configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nmon

Remove nmon configuration, data, and all of its dependencies

We can use the following command to remove nmon configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nmon

Dependencies

nmon have the following dependencies:

References

Summary

In this tutorial we learn how to install nmon package on Kali Linux using different package management tools: apt, apt-get and aptitude.