How To Install collectl on Kali Linux
Introduction
In this tutorial we learn how to install collectl on Kali Linux.
What is collectl
collectl is:
Collectl is a performance monitoring and benchmark tool that tries to do it all. You can choose to monitor any of a broad set of subsystems which currently include buddyinfo, cpu, disk, inodes, infiniband, lustre, memory, network, nfs, processes, quadrics, slabs, sockets and tcp.
Output can also be saved in a rolling set of logs for later playback or displayed interactively in a variety of formats. If all that isn’t enough there are additional mechanisms for supplying data to external tools by generating output as s-expressions, a format of choice for some tools such as supermon or in another format called list-expressions. This output can be written to a file or sent over a socket. You can even create files in space-separated format for plotting with external packages like gnuplot.
There are three methods to install collectl 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 collectl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install collectl using apt-get by running the following command:
sudo apt-get -y install collectlInstall collectl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install collectl using apt by running the following command:
sudo apt -y install collectlInstall collectl 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 updateAfter updating apt database, We can install collectl using aptitude by running the following command:
sudo aptitude -y install collectlHow To Uninstall collectl on Kali Linux
To uninstall only the collectl package we can use the following command:
sudo apt-get remove collectlUninstall collectl And Its Dependencies
To uninstall collectl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove collectlRemove collectl Configurations and Data
To remove collectl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge collectlRemove collectl configuration, data, and all of its dependencies
We can use the following command to remove collectl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge collectlDependencies
collectl have the following dependencies:
References
Summary
In this tutorial we learn how to install collectl package on Kali Linux using different package management tools: apt, apt-get and aptitude.