I wrote this shell script to convert around 7 million PDF’s. The initial Java version had trouble with performance, it crashed a lot and used way to much memory. So old bash again did a clean and fast job. Overview: […]
check iis cpu
This nagios plugin VBS script, gets exactly the amount of CPU a specific Aplication Pool is using, it helps a lot to identify witch site is using more CPU. It was tested on Windows 2003 only. I had the help […]
check aws elb hosts
This scripts counts how many active instances are inService of a AWS ElasticLoadBalancer (ELB). The code is based on a simple API call via bash elb-describe-instance-health Here is the code: #!/bin/bash #This script uses AWS command line tools to get […]
check apache script
This script monitor Apache ./check_apache OK – Apache Status Req/s = 0.6 Idel = 4 Busy = 7|Req=0.6;Idle=4;Busy=7 Tested on Ubuntu 12.04 lighthttpd and It works only whe apache mod_status is on. I also included security on the mod_status access […]
AWS Summit and Roadshow
I attended to two AWS events this month. Here I let you have both PDF’s of the event. AWS Summit – Sao Paulo 2013 AWS_RoadShow_RiodeJaneiro Many videos in youtube
Script to purge varnish cache
There is a easy way to allow developers to stop bugging us the system adminsitror, “clean the cache”. Just setup this php page on a apache server and they can do it themselves. Tested on Varnish 2.X using syntax: curl […]
how to add a RAM HD
Procedure how to add a RAM HD into Linux, tested on RedHat/CentOS # grubby –update-kernel=`grubby –default-kernel` –args=’ramdisk_size=2048000′ # reboot … after boot … # dd if=/dev/zero of=/dev/ram1 bs=1k count=2048000 # mkfs -t ext3 -j -m 0 /dev/ram1 # mkdir /mnt/ConversaoMem […]