Show a system activity report
Show CPU, memory and disk stats with sysstat: 5 samples, 1 second apart.
sar -u -r -d 1 5
- tool
- linux133 commands
- tags
- linuxmonitoring
More linux commands
-
strace -f -e trace=network,file -p <pid>Trace network and file syscalls of a running process and its child processes.
-
perf stat -e cycles,instructions,cache-misses -- sleep 5Count CPU cycles, instructions and cache misses while a command runs (here sleep 5). Add -a to cover the whole system.
-
lscpu | grep -E 'Model|Socket|Core|Thread|MHz'Show the CPU model, how sockets, cores and threads are laid out, and the clock speed.
-
dmidecode -t memory | grep -E 'Size|Speed|Locator|Type:'Show physical DIMM slots with size, speed and type (needs root).
-
lspci -v | grep -A5 'VGA\|Ethernet\|NVMe'Show network cards, GPUs and NVMe controllers with driver info.