Linux iostat命令详解
磁盘I/O 子系统是Linux 系统中最慢的部分,当觉得系统中出现了I/O 瓶颈时,如何监控系统的I/O情况,本文介绍的iostat命令完全可以胜任这个工作,iostat命令是报告cpu的统计信息和磁盘的i/o统计信息,下面从man手册来学习这个命令 NAME iostat – Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. iostat命令是报告cpu的统计信息和磁盘的i/o统计信息 iostat [ -c ] [ -d ] [ -h ] [ -N ] [ -k | -m ] [ -t ] [ -V ] [ -x ] [ -z ] [ device [...] | ALL ] [ -p [ device [,...] | ALL ] ] [ interval [ count ] ] DESCRIPTION The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer