Linux性能分析60s
uptime 查看平均负载
dmesg -T | tail 查看kernel errors
vmstat 1 随着时间的总体情况
mpstat -P ALL 1 处理器平衡
pidstat 1 进程使用情况
iostat -xz 1 磁盘I/O
free -m 内存使用情况
sar -n DEV 1 网络I/O
sar -n TCP,ETCP 1 查看TCP情况
top 看总体情况
参考资料
https://www.brendangregg.com/blog/2015-12-03/linux-perf-60s-video.html
https://netflixtechblog.com/linux-performance-analysis-in-60-000-milliseconds-accc10403c55