cpan – The Perl Module Manager
Updated: March 19th, 2008
cpan is a perl module manager. To get into cpan, login as root and type in
cpan |
Install a module:
cpan install MODULE |
Upgrade a module:
cpan upgrade MODULE |
Reinstall a module or force install in case of failed tests:
force install MODULE |
See a list of upgradable modules:
r |
See cpan configuration (that's the letter 'o'):
o conf |
Update an option in cpan configuration:
o conf OPTION_NAME OPTION_VALUE |
It is always nice to:
upgrade CPAN install Bundle::CPAN |
If there's an error making a Perl module, it can be caused by a missing make path in cpan configuration. In …
Updated: October 22nd, 2011
sysbench – Linux test bench. Easy as pie to test CPU, memory, threads, mysql, and disk performance.
Full description is available here: http://sysbench.sourceforge.net/docs/
install mysql, mysql-devel wget http://downloads.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz tar xvzf sysbench*gz cd sysbench* ./configure && make install |
mysql tests
This will run 10 separate consecutive mysql tests using an InnoDB table type, each with 100 mysql threads, doing a total of 1000 various SQL operations per test. Then it will print the total time they took to finish:
