apachetop(1)

πŸ“¦
version 0.23.2 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ apachetop(1) β€” USER COMMANDS ✨

πŸ’– NAME

okay bestie, apachetop is the tool that displays real-time web server statistics πŸ‘€βœ¨ it's giving live dashboard energy πŸ’…

πŸŽ€ SYNOPSIS

apachetop [-f filename] [-H hits | -T time] [-q] [-l] [-s segments] [-p]
[-r secs]

πŸ¦‹ DESCRIPTION

okay so ApacheTop watches a logfile generated by Apache πŸ“œ (in standard common or combined logformat) and spits out human-parsable output in realtime πŸ”₯ no cap, it's so iconic πŸ‘‘

🌸 OPTIONS

  • -f logfile β€” pick which file to watch πŸ“‚ you can pass this option multiple times if you want to watch several files at once 🫢
  • -H hits | -T time β€” these two are mutually exclusive πŸ™…β€β™€οΈ so only pick one (or none at all) πŸ’… here's the tea: ApacheTop keeps a table of info about every hit it's seen, but that table can only be a finite size 😭 so you get to decide how big it's gonna be. you've got two choices:
    • use -H to say "remember <this many> hits" ✨
    • use -T to say "remember all hits in <this many> seconds" ⏱️

the default (for now) is to remember hits for 30 seconds πŸ•°οΈ but heads up, going too big (either way) makes ApacheTop use more memory and CPU time πŸ’€ lowkey, the creator found that remembering no more than around 5000 requests works well 🎯

  • -q β€” tells ApacheTop to keep the querystrings instead of stripping them 🧚
  • -l β€” tells ApacheTop to lowercase all URLs πŸ“ so /FOO and /foo get treated as the same and pile up the same stats πŸ™Œ
  • -s segments β€” tells ApacheTop to only keep the first <segments> parts of the path πŸ›€οΈ trailing slashes stay if they're there, and stats get merged for each truncated url ✨
  • -p β€” tells ApacheTop to keep the protocol (usually http://) at the front of its referrer strings 🌈 normally it removes them to make room for more useful info, but not this time πŸ’œ
  • -r secs β€” sets the default refresh delay, in seconds ⏰

🧚 EXAMPLES

apachetop -f /var/logs/httpd/access.log

🫢 AUTHOR

Chris Elsworth <chris@cae.me.uk> πŸ‘‘ the legend himself πŸ’–

πŸ™ˆ REPORTING BUGS

if something's broken, report it at: https://github.com/tessus/apachetop/issues πŸ›

🌈 SEE ALSO

https://www.cae.me.uk/projects/apachetop πŸ¦‹


bye bestie, this manpage was ate and left no crumbs πŸ’…βœ¨ apachetop 0.15.6, June 2015 πŸŽ€πŸ’œ