sysbench
Install: yum install sysbench
or apt-get install sysbench
;
Usage
$ man sysbench
$ sysbench --help
$ sysbench --test=cpu --cpu-max-prime=20000 run
$ sysbench --test=memory help
$ sysbench --test=memory run
$ sysbench --test=fileio --file-total-size=150G prepare
Phoronix Test Suite
Installation
-
Download phoronix-test-suite-5.0.0.tar.gz from its homepage
-
Unzip it and run "install-sh" in it;
-
It will prompt you install php-cli and php-xml (on CentOS 6.4) if you haven't install them.
Usage
$ phoronix-test-suite --help
$ phoronix-test-suite list-tests
$ phoronix-test-suite list-tests | grep '[Mm]emory'
$ phoronix-test-suite install pts/ramspeed
$ phoronix-test-suite run pts/ramspeed
Ref:
How To Benchmark Your System (CPU, File IO, MySQL) With sysbench
Benchmarking Tools For Linux Servers