Virtual memory stats
System-wide CPU, memory, swap, IO stats per second
vmstat 1 5
- tool
- linux133 commands
More linux commands
-
iotop -aoAccumulated disk read/write per process (requires root)
-
sar -u -r -d 1 5CPU, memory, and disk stats via sysstat (5 samples, 1s interval)
-
strace -f -e trace=network,file -p <pid>Trace network and file syscalls of a running process
-
perf stat -e cycles,instructions,cache-misses -- sleep 5Hardware CPU counters during a 5-second window
-
lscpu | grep -E 'Model|Socket|Core|Thread|MHz'CPU model, socket/core/thread topology, and clock speed