Linux常用性能调优工具索引
Brendan Gregg 的《Linux Performance Analysis and Tools》PPT 中汇总了一套 Linux 性能分析常用工具,这些工具大多在日常工具箱或实际案例中使用过,价值很高。为方便检索,作者整理了一份工具索引:网络相关有 nicstat、tcpdump、netstat、tcprstat;CPU 与系统层面有 top、mpstat、pidstat、vmstat、dstat、free、slabtop;磁盘 I/O 有 iotop、blktrace;进程与内核追踪有 strace、systemtap、perf、oprofile,每个工具均配有对应的实践文章链接。
这些工具覆盖了从宏观指标观测到深层追踪分析的完整链路,是 Linux 性能调优的实用参考,更多系统工具介绍可查阅该博客的工具分类。