Monday, 20 February 2006


Found the need to analyse some server stats. today and the hosting that I was using didn't have a package available so I googled and found Visitors which is damn fine. This all because of this post on Kiwi's Forums. Basically I'm after some testing of a site that I'm working on... well actually it's 2 pages on 1 site that I'm working on TBH. The 1st is a traditional web-based application the 2nd uses brand spanking new technologies (Well, they might be old but they're new to me wink).

You might have already guessed it but it's part of my dissertation and I think that I'm there in terms of the software. Now if I could only get over this cold and feel like my brain isn't swimming in snot rather than cerebral spinal fluid I'd be sorted. Then I can go about improving Rodin a little bit more and the world'll be my winkle.

Anyway, back to visitor, it can output a file that Graphviz can turn into SVG... well, you know how much I love SVG so I just had to give it a go. This is primarily for my own reference TBH but the commands I use can be used by anyone:

To output all the data I'm likely to need as html:

% visitors -A [log name] --trails --prefix [domain name]
> [name of file].html

To output a file ready for Graphviz and then run it to create an SVG image:

% visitors [log name] --prefix [domain name] --graphviz
> [name of file].dot
% dot [name of file].dot -Tsvg > [name of file].svg