Linux Commands Helper
💬 Your AI-powered Linux assistant
vmstat Command - Report Virtual Memory Statistics
vmstat (virtual memory statistics) reports information about processes, memory, paging, block IO, traps, and CPU activity. It is useful for performance monitoring and troubleshooting.
Syntax
vmstat [options] [delay [count]]
Examples
vmstat
Display a summary of system memory, processes, and CPU activity.
vmstat 2 5
Report statistics every 2 seconds, 5 times.
Notes
- Values are reported in kilobytes by default.
- Useful for identifying memory bottlenecks and system performance issues.
- May require root privileges for some options.