🍺 BREW Explorer

← all formulae

apachetop

brew install apachetop v0.23.2 BSD-3-Clause

Top-like display of Apache log

9
30-day installs · #8980
16
90-day · #10441
88
365-day · #9533
51
★ GitHub stars · updated 2y ago

Runtime dependencies

Build dependencies

GitHub topics

apache-httpd httpd logging monitoring top

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "autoconf",
    "automake",
    "pkgconf"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "adns",
    "ncurses",
    "pcre2"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Top-like display of Apache log",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:26+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "apachetop",
  "github_default_branch": "master",
  "github_last_commit_at": "2024-02-12T15:52:49Z",
  "github_readme_excerpt": "ApacheTop Readme\n\nApacheTop watches a logfile generated by Apache (in standard common or\ncombined logformat, and generates human-parsable output in realtime.\n\nSee the INSTALL file for ./configure options (there\u0027s a few newly added\nsince v0.11)\n\nSeveral commandline options dictate some of its\u0027 behaviour:\n-f logfile\n\tSelect which file to watch.\n\tSpecify this option multiple times to watch multiple files\n\n-H hits | -T time\n\tThese options are mutually exclusive. Specify only one, if any at\n\tall. They work as follows. ApacheTop maintains a table of\n\tinformation internally containing all the relevant information about\n\tthe hits it\u0027s seen. This table can only be a finite size, so you\n\tneed to decide how big it\u0027s going to be. You have two options.\n\tYou can either:\n\t\tUse -H to say \"remember \u003cthis many\u003e hits\"\n\tor\tUse -T to say \"remember all hits in \u003cthis many\u003e seconds\"\n\t\n\tThe default (at the moment) is to remember hits for 30 seconds.\n\tSetting this too large (whichever option you choose) will cause\n\tApacheTop to use more memory and more CPU time. My experimentation\n\tfinds that remembering no more than around 5000 requests works well.\n\n-q\n\tInstructs ApacheTop to keep the querystrings, not remove them\n\n-l\n\tInstructs ApacheTop to lowercase all URLs, thus /FOO and /foo are\n\ttreated as the same and accumulate the same statistics.\n\n-r\n\tEnable resolving of hosts/ips (you need adns!)\n\n-s segments\n\tInstructs ApacheTop to only keep the first \u003csegments\u003e parts of the\n\tpath. Trailing slashes are kept if present. Statistics are then\n\tmerged for each truncated url.\n\tThis is easiest to demonstrate with examples:\n\t-s 2 would produce the following:\n\t/media/x.jpg               -\u003e  /media/x.jpg\n\t/media/images/x.jpg        -\u003e  /media/images/\n\t/media/images/small/x.jpg  -\u003e  /media/images/\n\t/media/images/big/x.jpg    -\u003e  /media/images/\n\tStats for the last three URLs would be merged in this case.\n\n-p\n\tInstructs ApacheTop to keep the protocol (http:// usually) at the\n\tfront of its\u0027 referrer strings. ",
  "github_repo": "tessus/apachetop",
  "github_stars": 51,
  "github_topics": [
    "apache-httpd",
    "httpd",
    "logging",
    "monitoring",
    "top"
  ],
  "homepage": "https://github.com/tessus/apachetop",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 9,
  "installs_365d": 88,
  "installs_90d": 16,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "apachetop",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8980,
  "rank_365d": 9533,
  "rank_90d": 10441,
  "raw_hash": "35ab2b4565c45449",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/a/apachetop.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.23.2",
  "versioned_formulae": [],
  "why_use_this": null
}