IOMETER编译安装使用

准备工作:

配置好yum源,安装开发包:

#yum groupinstall "Server Platform Development"

#yum (--skip-broken) groupinstall "Development tools"

iometer下载地址http://www.iometer.org/(linux环境用)

windows环境连接用:http://sourceforge.net/projects/iometer/files/iometer-devel/1.1.0-rc1/iometer-1.1.0-rc1-win32.i386-bin.zip/download

编译报错

In file included from IOManager.h:94,

                from Pulsar.cpp:135:

IOPerformance.h:101:21: error: stropts.h: No such file or directory

make: *** [Pulsar.o] Error 1


解决办法:

修改src下边的文件

vim IOPerformance.h

将第100行改成

#if defined(IOMTR_OSFAMILY_NETWARE) || defined(IOMTR_OS_SOLARIS)

make all

ok

你可能感兴趣的:(IOMeter)