LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Webalizer - howto convert the trafic into human readable? (http://www.linuxquestions.org/questions/linux-server-73/webalizer-howto-convert-the-trafic-into-human-readable-484973/)

sys7em 09-19-2006 09:58 AM

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?

bulliver 09-25-2006 04:02 AM

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.

sys7em 09-25-2006 04:43 AM

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 ....:scratch: :scratch: :confused:

bulliver 09-25-2006 04:48 AM

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 ;)


All times are GMT -5. The time now is 05:27 PM.