apachetop(1)
β¨ 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
-Hto say "remember <this many> hits" β¨ - use
-Tto say "remember all hits in <this many> seconds" β±οΈ
- use
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/FOOand/fooget 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 (usuallyhttp://) 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 ππ
π¦ where this page comes from
- debian bookworm: apachetop 0.23.2-1 Β· BSD-3-Clause
- debian trixie: apachetop 0.23.2-3 Β· BSD-3-Clause
- ubuntu jammy: apachetop 0.19.7-3 Β· BSD-3-Clause
- ubuntu noble: apachetop 0.23.2-2build3 Β· BSD-3-Clause
- ubuntu questing: apachetop 0.23.2-3
- ubuntu resolute: apachetop 0.23.2-4 Β· BSD-3-Clause
- ubuntu stonking: apachetop 0.23.2-5 Β· BSD-3-Clause
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms