Skip to content

Instantly share code, notes, and snippets.

@DrizzlyOwl
Forked from pgilad/apachetop.sh
Created August 31, 2021 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrizzlyOwl/b6ae462d7ab63a16c78cb7959f44bf6b to your computer and use it in GitHub Desktop.
Save DrizzlyOwl/b6ae462d7ab63a16c78cb7959f44bf6b to your computer and use it in GitHub Desktop.
Run apachetop on multiple files from find
# Run apachetop on multiple files as a result of find
apachetop $(find /var/log/apache2/ -name "*access.log" -print | sed 's/^/-f '/) -q -l -d 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment