Virtual memory stats

System-wide CPU, memory, swap, IO stats per second

vmstat 1 5

tool
linux133 commands
tags
linuxmemorymonitoring

More linux commands

  • iotop -ao

    Accumulated disk read/write per process (requires root)

  • sar -u -r -d 1 5

    CPU, 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 5

    Hardware CPU counters during a 5-second window

  • lscpu | grep -E 'Model|Socket|Core|Thread|MHz'

    CPU model, socket/core/thread topology, and clock speed

all 133 linux commands