August 17, 2024
top command to display system performance
top command in linux displays system statistics along with running processes and their consumption in real time. The processes are listed in order of resource utilization with maximum consuming processes in the beginning followed by decreasing consumption.
Command
top -c
The first few lines displays some additional information such as
top displays uptime information
Tasks displays process status information
%Cpu(s) displays various processor values
MiB Mem displays physical memory utilization
MiB Swap displays virtual memory utilization