2. 硬盘读取性能测试 – IOZone
IOZone 是一款 Linux 文件系统性能测试工具 可以测试不同的操作系统中文件系统的读写性能。
下载:http://www.iozone.org/src/current/
[
root@localhost current
]#
tar xvf iozone3_420
.
tar
[
root@localhost
~]#
cd iozone3_420
/
src
/
current
/
[
root@localhost current
]#
make linux
[
root@localhost current
]#
./
iozone
-
a
-
n
512m
-
g
16g
-
i
0
-
i
1
-
i
5
-
f
/
mnt
/
iozone
-
Rb
./
iozone
.
xls
-a 使用全自动模式
-n 为自动模式设置最小文件大小 (Kbytes)。
-g 设置自动模式可使用的最大文件大小 Kbytes。
-i 用来指定运行哪个测试。
-f 指定测试文件的名字完成后自动删除
-R 产生 Excel 到标准输出
-b 指定输出到指定文件上
3.实时监控磁盘 IO-IOTop
IOTop 命令是专门显示硬盘 IO 的命令, 界面风格类似 top 命令。
[
root@localhost
~]#
yum
-
y install iotop
4. 网络流量监控 – IPtraf
IPtraf 是一个运行在 Linux 下的简单的网络状况分析工具。
[
root@localhost
~]#
yum
-
y install iptraf
5.网络流量监控 – IFTop
iftop 是类似于 linux 下面 top 的实时流量监控工具。比 iptraf 直观些。
下载:http://www.ex-parrot.com/~pdw/iftop/
[
root@localhost
~]#
tar zxvf iftop
-
0.17
.
tar
.
gz
[
root@localhost
~]#
cd iftop
-
0.17