AGENT SKILL
vmstat
Report virtual memory and system statistics
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- vmstat
- description
- Report virtual memory and system statistics
03 SKILL.md 正文
vmstat Plugin
Report virtual memory, processes, CPU, I/O, and system statistics.
Quickstart
# One-shot system statistics
vmstat
# Continuous monitoring (every 2 seconds, 5 times)
vmstat 2 5
# Show active/inactive memory
vmstat -a
# Disk statistics
vmstat -d
# Disk summary
vmstat -D
# Partition read/write stats
vmstat -p sda1
# Slab allocator statistics
vmstat -s
# Show version
vmstat --version
Common Flags
| Flag | Description |
|---|---|
-a |
Show active/inactive memory |
-d |
Disk statistics (read/write per disk) |
-D |
Disk summary statistics |
-p |
Partition-specific statistics |
-s |
Slab allocator statistics |
-t |
Timestamp on each line |
-S |
Unit (k/K/m/M) |
-w |
Wide output |
Fields Explained
| Field | Description |
|---|---|
| r | Processes waiting for CPU |
| b | Processes in uninterruptible sleep |
| swpd | Used swap memory |
| free | Free memory |
| buff | Buffer cache |
| cache | Page cache |
| si/so | Swap in/out |
| bi/bo | Block in/out |
| us/sy/id/wa | CPU time percentages |
Tips
- First line of output shows averages since boot; subsequent lines show delta
- Use
delayandcountfor real-time monitoring - High
wa(wait) indicates I/O bottleneck - High
si/soindicates swapping pressure (needs more RAM)
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57