Linux常用系统性能测试命令(硬盘、内存、CPU)
查看系统信息
cat /etc/os-release
lsb_release -a
lscpu
cpu负载
top
进程占用整机的cpu使用量(多核机器):shift + i
根据CPU排序:shift + p
根据内存排序:shift + m
性能分析入门:使用top命令分析Linux系统性能
磁盘IO使用情况
iostat -x
内存使用情况
free -m
Do not communicate by sharing memory; instead, share memory by communicating.

浙公网安备 33010602011771号