collectl tool can also play the role of utilities that are designed with only a specific purpose such as
iotop and many others.
sudo apt-get install collectl
For example the following command
collectl -sc can be used to monitor the summary of the cpu usage.
The following command
collectl -sd will help you to monitor the disk usage.
You can also use
collectl -sD to collect data on individual disks, but you have to know that information on total disks will not be reported.
It is very easy to make collectl work as the top utility, just run the following command in your terminal
collectl --top and you will see the similar output the top tool gives you when it is executed in your Linux system.
to use the collectl utility as the ps tool run the following command in your terminal:
collectl -c1 -sZ -i:1
You will get information about processes in your system the same way as you do when you run the
ps command in your terminal.
you can combine the
t for tcp and
c for cpu example
the summary list of subsystems supported by the tool:
b – buddy info (memory fragmentation)
c – CPU
d – Disk
f – NFS V3 Data
i – Inode and File System
j – Interrupts
l – Lustre
m – Memory
n – Networks
s – Sockets
t – TCP
x – Interconnect
y – Slabs (system object caches)
collectl visualised through graphite or graphiti: