Stress/Benchmark Test - 壓力/效能測試工具
RPM 安裝檔下載
http://dag.wieers.com/rpm/packages/stress/
使用方法
stress --cpu 2 --io 4 --vm 1 --vm-bytes 128M --timeout 10s
Home: https://github.com/akopytov/sysbench
yum install make automake libtool pkgconfig libaio-devel # For MySQL support, replace with mariadb-devel on RHEL/CentOS 7 yum install mysql-devel openssl-devel # For PostgreSQL support yum install postgresql-devel git clone https://github.com/akopytov/sysbench.git ./autogen.sh # Add --with-pgsql to build with PostgreSQL support ./configure --prefix=/opt/sysbench make -j make install
mysql> create database sbtest; sysbench --debug=on --test=oltp --db-driver=mysql --mysql-table-engine=innodb --oltp-table-size=1000000 --mysql-user=root --mysql-host=10.4.1.24 prepare