vmstat
Report information about processes, memory, paging, block IO, traps, disks and CPU activity. More information: https://manned.org/vmstat.
- Display virtual memory statistics:
vmstat
- Display reports every 2 seconds for 5 times:
vmstat {{2}} {{5}}