From Windows to a Debian GNU/Linux desktop, sans the geekness
The Original - since June 2006 - Run Debian GNU/Linux and be Happy.
Keep those old computers. Debian (Linux) will run happily on your 8 year old computer. No GUI or light desktop environment like Fluxbox - you'll be surprised and save beaucoup loot.
 

this site  web    
The Goods
Home Page
Forum
debiantutorials.org Licensing
Website Disclaimer
Site Map
Links
w32codecs
How to really switch Mom to Linux
Documentation
Release Notes
Developers Reference
Debian Survival Guide
Debian Books
Manuals
Debian Security
Linux Dictionary
Leaving Windows
Resize Windows Partition for Dual-Booting
Back up your Partitions, Imaging
Still Suffering Windows
Keep your Money, your Sanity and your Self-Respect
Installing Debian Etch
Debian GNU/Linux (Etch) Installation Tutorial
My Etch Desktop in 150 words or Less
Upgrade Sarge to Etch
Configure Debian Etch
Multimedia on Debian Etch
Install nVIDIA 3d driver on Debian Etch
Wireless on Debian Etch: Broadcom - bcm43xx
Klikit, Klikit good
Handy Little Things
Package Management
Peripherals & Debian Etch
Set up your web cam on Debian Etch
Printing in Debian (Browsers, too)
Your ipod on Debian Etch
Atheros Wireless
Broadcom Wireless
Etch on the Desktop
Visitors apache log reader
Andrea del Sarto
(Poetry snippet for your Ignorant Ass)
Beagle on Debian Etch
Convert Digital Camera .mov Files
Some Debian Etch System Files
My Debian Desktop
Using wget
Copying or Ripping DVD's in Linux (Debian)
Reset root password
So, you want to run Linux
Convert mov files
Securing Debian
Password Protect Grub Boot Loader
Debian Etch as Server
Debian Linux file and print server: NFS, CUPS, LPR
Stream your music with gnump3d
Simple local web server on Etch
Web Server on Debian Etch
Miscellaneous Linux
Linux Conventions
Can People read my Documents?
Install Software on your Linux System (Debian)
Partition your Hard Drive
History of debiantutorials.org
A School Without Windows (PDF)
How to talk to Tech Support
Linux Demystified
Off Topic
A DRM Dissertation
An Artist's take on Downloading Music
An Insane and Damaging lack of Understanding
On Children and Drugs
On Visitor Q
Intellectualism for the Masses
debiantutorials.org stats
Smart Crows
How old are We?
Why we run Debian
How not to ask an egomaniac like myself for an article
Sarge Specific Tutorials
Installing Debian Sarge, net install, no DHCP
Easy Graphical Sarge Installation Tutorial
Rebuilding my Debian Sarge Machine
Multimedia for Sarge
w32codecs
nVIDIA on Sarge
Trouble Burning discs: cdrecord
Athcool on Debian Sarge
Where are my Newly Installed Apps?
Easy LAMP on Debian Sarge
Archive
Sites Worth a Look
Debian Mailing List
spidercider
Linux Comparison at PolishLinux.org
Thin Clients
Common Commands
Common iptables Filtering
iwouldntsteal.net
Big-Ass iptables info Page
iptables Port Reference
README: Firewall
General Security Tips
Newbie Security
Kickass RFC's
Data Breaches
Hemp Seed Oil
linux-hardcore.com
Search for a local Computer Tech
Evelyn's Linux Cheat Sheet
Lotsa (687) Linux Commands

Favorite Utilities

Super Grub Disc
System Rescue Disc
News Feeds
visitors run
operating system
Linux
Windows
Mac
Unknown
BSD
54.8 %
39.8 %
3.40 %
1.50 %
0.10 %

web browser
Firefox
Mozilla
IE
Opera
Epiphany
41.4 %
25.1 %
15.8 %
8.40 %
3.50 %
updated 17apr08
What's Root?
Root is the super-ultra-mega. All system commands on a Linux box need to be done as root. This means installing software and changing files not in your /home directory, etc. In your terminal, if you're logged in already become root by typing su at your $ prompt, then the root password. Log in the system directly as root from a terminal, but not the graphical login. # shows root.
dediantutorials.org is ad-free
debiantutorials.org has always been and will always remain ad-free I make no unrealistic demands that you "owe me for my time and bandwidth" in order to use my site. I detest all those scumbags out there that think that they are owed something for putting a web site up. I do debiantutorials.org because I love it. You owe me nothing.
If you can walk and chew gum at the same time, you can run Linux

    Friday, May 09, 2008      Contact  Etch Info  what's new in Etch  Linux Demystified  Our Forum
A running Apache server logs snapshot PDF Print E-mail
Using Debian Etch on the desktop
Written by machiner   
Tuesday, 09 January 2007
Here I was bored for a few seconds. I think it was the comments to some article on Slashdot that I was reading that started me to thinking about yet another way to interpret my web-logs. There are many options, you've heard of most, no doubt. My web host gives me Awstats and Webalizer and I get some good info from them both. Of course, this can be argued, but you get the point. I really liked Sawmill, but it's too expensive. Normally I use AXS Visitor Tracking for daily stuff. But I was bored.

I started looking around the web for yet another log reader. Nothing fancy, just Apache logs. All of them can read Apache style logs. I had as much time as I needed, all 5 minutes of it, so there was no hurry. I found Visitors web-logs analyzer pretty quickly.

It fit the bill.

  • No install necessary and I like that.
  • small footprint
  • free
  • fast

I downloaded then extracted the files. Quick cd into the directory, run

$ visitors --help

so I know what some options are, and I'm good. It's so easy that I can do it. Utilities rock.

Here is what I do to get some quick running stats on the visitors to debiantutorials.org at any time. It's so easy...

First I download my logs using wget, like so:

wget -P /your/save/to/directory ftp://uname: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it /../../logs/server-logs.log

Looking at the command we can surmise the following:

The place that I save my log file to is before the place that I get my log file from in the wget command. This is common.

There are dots and slashes following my domain. This is because my log file is in a directory 2 levels "up" from my web root. ../ means go up one directory.

Open a terminal and type:

$ cd ../

See?

And finally, you notice how simple the terminal is. Not to mention fast.

Now that I have my log file I cd into the directory that I downloaded it to. Then, and I learned this from running visitors with the --h option, I parsed my log file

$ visitors -A server-logs.log > visitors.html

Takes one (1) second to parse my 10 some-odd MB file from today. That's cool. Like I said -- it doesn't give me all that much. It gives me exactly what I want to see. So, I double-click on the visitors.html file that was just made and Opera fires-up with a page showing me my stats from the day up to just a minute ago.

You may not think it right away but this whole process takes 2 seconds longer than the amount of time necessary to wget my log file. It was 10MB and on a fast connection, that only takes a couple of minutes.

--machiner 9 Jan 07





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Trackback(0)
Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy
 
Creative Commons License © debiantutorials.org Thanks for dropping by. I hope you have found this site to be helpful.   Search for a local Computer Tech  debiantutorials.org