在Linux命令模式下,可以将查询结果写入文件。大概有两种方式,增量写入和覆盖写入。 增量写入: #iostat -m >> /tmp/iostat.txt 覆盖写入: #iostat -m > /tmp/iostat.txt 相关文章: