LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-19-2006, 09:58 AM   #1
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
Webalizer - howto convert the trafic into human readable?


OK. Here's the thing.

The trafic in webalizer shows the amount of data in kb (kilobytres).
And if I get some gb of trafic ...it's showing somethin' like this: 122342398129

What should I do to convert these kilobytes into human readable gigabytes?
 
Old 09-25-2006, 04:02 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
GB = KB / 1024 / 1024

Though: what version are you using? My webalizer lists all the stats with nice human-friendly GB, MB, and KB suffixes much like 'df -h' does, for both the "Summary by Month" and the individual monthly reports.
 
Old 09-25-2006, 04:43 AM   #3
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
I'm using:
Quote:
Generated by Webalizer Version 2.01
I have compiled it from source on my slackware 10 box.

Is there a certein compile flag that I should have used ???

There isn't such option in the config file by the way ....
 
Old 09-25-2006, 04:48 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Hmmm, I have 2.01 as well.

Quote:
Is there a certein compile flag that I should have used ???
Dunno, I installed through Gentoo portage. If you run './configure --help' it should tell you all available configure options.

Quote:
There isn't such option in the config file by the way
I know, I checked myself before posting the first time
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Q: convert ps to pdf-HOWTO smiley_lauf Linux - Newbie 3 02-14-2006 09:38 PM
HOWTO: Convert MPEG2 into MP4 cato4liberty Linux - Software 2 02-06-2006 12:09 PM
howto convert .flac to .mp3 Lleb_KCir Linux - Software 4 05-21-2005 06:07 PM
howto convert .avi to svcd? Brain Drop Linux - Software 3 11-28-2004 09:13 PM
Howto monitor network trafic on specific port MDanger Linux - Networking 2 03-31-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration