Skip to content

Instantly share code, notes, and snippets.

@pgilad
Created February 10, 2016 13:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pgilad/2247df1861c8ca96812c to your computer and use it in GitHub Desktop.
Save pgilad/2247df1861c8ca96812c 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
sudo apachetop $(find /var/log/blazemeter/ -name "*access.log" -print | sed 's/^/-f '/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment