在实际的linux优化工作中,可以分为CPU、内存、IO优化;IO分为磁盘IO、网络IO
分析IO的工具命令:
vmstat、iostat(iostat -c iostat -d iostat -x).
fdisk -l 和 df 查看磁盘基本信息,iostat -d 查看磁盘 IOPS 和吞吐量,iostat -x 结合 vmstat 查看磁盘的繁忙程度和处理效率;
fdisk -l
df
iostat -d
iostat -x