I used the sysbench tool, more info at sysbench –test=fileio –file-total-size=1G prepare sysbench –test=fileio –file-total-size=1G –file-test-mode=rndrw –max-time=300 –max-requests=0 run sysbench –test=fileio –file-total-size=1G cleanup RESULT: sysbench 0.4.12: multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 1 […]
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found
ERROR: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found Testes on CentOS 6.4 x64 with Tomcat 6 Instalar o APR, ——————- Install pre-req: yum install apr apr-devel openssl-devel gcc Download tomcat-native-1.1.30-src.tar.gz: […]
Linux how to change interface name
When cloning vm’s inside a ESX I always get a eth1 instead of eth0. So here is what I do to fix that. Step #1:Get Mac ifconfig -a | grep hwaddr eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 Step #2: Rename eth1 […]
CES 3.0
Testing Centreon Enterprise Server 3.0 Basic howto: http://documentation.centreon.com/docs/ces-documentation/en/latest/installation/getting_started.html The instalation was very smoth it is now integrated with anaconda, OS install. Now testing the imports
Brasil centron event
I had the chance to go to a Centreon meeting organized by Komputer in Sao Paulo on Friday 5th of April 2014. It was great to met the creator of Centreon Romain Le Merlus and listen and learn to current […]
check_varnish_uptime
Simple script to check if the varnish daemon has been restarted latelly Here is the code: #!/bin/bash #Get current varnish uptime #Version 1.0 #By Felipe Ferreira Set 2013 #Variables CRIT=900 #Check arguments print help if [ $# -lt 1 ]; […]
check links
This code has not been tested in the last 2 years… Here is the code: #!/usr/bin/perl use Time::HiRes; use LWP::UserAgent; use HTML::LinkExtor; my $start_begin = [ Time::HiRes::gettimeofday( ) ]; my $base_url = $ARGV[0]; my $virtual_host = $ARGV[1]; my $a = […]
