There is a simple way to watch the US netflix, change your DNS. Thats pretty much what sites like http://www.unblock-us.com/ offers for $5 a month. The way I did was: nslookup server 208.122.23.22 > netflix.com Server: 208.122.23.22 Address: 208.122.23.22#53 Name: netflix.com […]
bash script to convert pdf to jpg
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 […]