系统:Ubuntu 12.04.4 LTS
版本:sysbench-0.4.12
sysbench的是一个模块化的,跨平台和多线程基准测试工具,用于评估是根据密集型负载运行的数据库系统重要的操作系统参数。
sysbench当前功能允许测试以下系统参数:
文件I / O性能
调度程序性能
内存分配和传输速度
POSIX线程执行绩效
数据库服务器性能
sysbench 0.5可以使用lua写测试脚本,自定义更灵活,支持多表,也支持每隔多少秒打印统计信息,项目地址:https://launchpad.net/sysbench
使用源码安装,安装三部曲:
./configure && make && make install
错误:没有找到mysql_config
checking for mysql_config... no
configure: error: mysql_config executable not found
********************************************************************************
ERROR: cannot find MySQL libraries. If you want to compile with MySQL support,
you must either specify file locations explicitly using
--with-mysql-includes and --with-mysql-libs options, or make su