vmstat Linux Command
Reports virtual memory statistics including CPU, memory, and I/O.
What does vmstat do?
Reports virtual memory statistics including CPU, memory, and I/O.
Syntax
vmstat [options] [interval]Practical example
vmstat 2 5Related System Information
freeDisplays the amount of free and used system memory (RAM and swap).
dmesgPrints the kernel ring buffer messages (boot-time and hardware diagnostics).
lsusbLists all USB devices connected to the system.
lsmodLists all currently loaded kernel modules.
lspciLists all PCI devices connected to the system (graphics cards, network adapters).
modinfoDisplays detailed information about a specific kernel module.