Linux Crisis Tools
出事時才裝工具往往來不及(沒網路、套件庫壞掉、機器卡住),所以應該預先裝好。
Ref: Linux Crisis Tools — Brendan Gregg
| Package | Notes |
|---|---|
| procps | basic stats(ps、vmstat、top) |
| util-linux | system log, device info |
| sysstat | device stats(iostat、mpstat、sar) |
| iproute2 | preferred net tools(ip、ss) |
| numactl | NUMA stats |
| tcpdump | network sniffer |
| linux-tools-common, linux-tools-$(uname -r) | profiler and PMU stats(perf) |
| bpfcc-tools (bcc) | canned eBPF tools |
| bpftrace | eBPF scripting |
| trace-cmd | Ftrace CLI |
| nicstat | net device stats |
| ethtool | net device info |
| tiptop | PMU/PMC top |
| cpuid | CPU details |
| msr-tools | CPU digging |
eBPF 相關見 BPF and eBPF。