AWSTATS(1)

πŸ’– AWSTATS πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about awstats β€” a free web server logfile analyzer that shows you advanced web statistics ✨. that's it, that's the whole vibe. this is the awstats page from the General Commands Manual, and yes she's iconic πŸ‘‘


🌸 SYNOPSIS 🌸

awstats -config virtualhostname [ options ]

that's the shape of it, babes. -config and a virtualhost name, then whatever options your heart desires 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this runs awstats on the command line, and it does one of two things:

  • it updates the statistics (-update option) of a web site, pulling from the log file that's defined in the AWStats config file, or
  • it builds an HTML report (-output option) πŸ’…

and here's the little detective work she does to find her config, in order, no cap:

  1. first, awstats tries to read awstats.virtualhostname.conf as the config file.
  2. if that's not found, awstats tries to read awstats.conf.
  3. and finally, it tries the full path that you passed to the -config option.
also, bestie, config files (so awstats.virtualhostname.conf or awstats.conf) must live in one of these three spots: /etc/awstats, /usr/local/etc/awstats, or /etc. that's the rule, periodt πŸ“

✨ OPTIONS ✨

a summary of the options is included below, and honestly? every single one of them matters πŸ’–

  • -update β€” to update statistics (this one's the default, she's the main character)
  • -output β€” to output the main HTML report. heads up though: no update gets made, unless you also bring -update along for the ride
  • -h β€” display usage information πŸŽ€

🌈 ENVIRONMENT VARIABLES 🌈

AWStats peeks at the environment variable AWSTATS_FORCE_CONFIG πŸ‘€ β€” and if it's defined, AWStats will use it as the "config" value, whatever the value is on the command line. like, the env var just overrules you, respectfully πŸ’€


πŸ“ SEE ALSO πŸ“

want the more complete description of AWStats on the Debian system? look right here, bestie:

/usr/share/doc/awstats/


πŸ’œ AUTHOR πŸ’œ

AWStats was written by Laurent Destailleur <eldy@users.sourceforge.net> 🫢

This manual page was written by Sergey B Kirpichev <skirpichev@gmail.com>, for the Debian project (but may be used by others) ✨


okay that's the whole page, you ate that πŸŽ€ no notes. this was the web server logfile analyzer page, AWSTATS(1) β€” and the version/date line at the bottom is part of the package's own manpage footer, so go peep the source if you want the exact build stamp. byeee, go analyze some logs, slay πŸ’…πŸ‘‘