1.Top
This common Monitored object is the average load and CPU load. Use top help to obtain the specific parameters.
2.Iostat
This command displays the following items by default:
% USER: user-level applicationProgramCPU usage percentage
% SYS: Percentage of CPU usage of system-level applications
% Iowait system/Application wait for percentage of disk I/O requests not completed
% Idle indicates that the system is idle.
3.Vmstat
Reports virtual memory statistics
Procs column:
R indicates the number of kernel threads in the running queue.
B indicates the number of kernel threads in the waiting queue
Memory column:
SWPD indicates swap memory
Free indicates idle memory.
Buff unknown
Cache indicates the buffer.
The swap column, I/O column, system column, CPU column, and so on can play a monitoring role!
PS: the commands for viewing system resources vary with host platforms.
For example, using the TOP Command on UNIX systems to view CPU and resource information is more accurate;
The usage of the top command in Linux is inaccurate because there is no thread in Linux, so there are many different processing methods!