Falling from 10ft hurts

I’ve written quite a lot of late about Cisco equipment, Windows servers and Website Optimization. I wanted to take a break and write up a recent rock climbing accident I was unfortunate enough to have.

A group of friends and I were climbing at Worth Matravers, we arrived fairly early (10am) and had a successful morning. I had led two routes and friends proceeded to top rope them. We had all struggled on route two on our last visits so it was a real buzz leading it on my first attempt that day. The third route we attempted was a tricky overhanging route with lots of lose rock. After a few failed attempts each we decided to move onto a fourth route.

The new route had a tricky start, the bolts were more spaced out than most of the other routes. It was probably 10ft to the first bolt and the same again to the second. A friend attempted the route before me and had clipped the first bolt but been unable to climb higher. I was one of the last to attempt it and reached the first bolt. Trying to move on and up to the second bolt I found myself unable to, looking down my shoe had got caught in the quickdraw.
Continue reading Falling from 10ft hurts

SAM Software

In two recent blog posts I’ve covered available licensing programs and what happens if you get audited by the Business Software Alliance. In this blog post I’m going to talk about keeping track of your software licensing through Software Asset Management and a basic overview of how the process work.

Software Asset Management (SAM) is the process of optimising the purchasing, management and recognition of software licenses. Software tools are available to assist with the process, which can be broken down into five or six categories:

  1. Inventory tools to identify what software is deployed across a network
  2. Management tools to manage license agreements and reconcile usage rights against data returned from inventory tools
  3. Metering tools to identify how frequently software is used, to allow you to remove software from computers where it is not used
  4. Policy tools to restrict installation of software can be installed, or who can use it
  5. Deployment and Patch management are usually part of the same system, and provide facilities to deploy new software packages and update already deployed software

Continue reading SAM Software

Extract bandwidth information from lighttpd log files

I was looking for a simple way to get some bandwidth statistics for websites that I host. Interested in historical data my only option was to look back over my webserver log files.

My webserver of choice on linux systems is currently lighttpd. Here’s a quick Bash script to get the bandwidth statistics out of the default lighttpd log files:

#!/bin/bash
cat access.log | awk '{
month=substr($4,5,3)
year= substr($4,9,4)
timstamp=year" "month
bytes[timstamp] += $10
} END {
for (date in bytes)
printf("%s %20d MB\n", date, bytes[date]/(1024*1024))
}' | sort -k1n -k2M

Continue reading Extract bandwidth information from lighttpd log files