clean_log.sh #1

  • //
  • guest/
  • russell_jackson/
  • sdp/
  • Server/
  • Unix/
  • p4/
  • common/
  • bin/
  • clean_log.sh
  • View
  • Commits
  • Open Download .zip Download (325 B)
#!/bin/bash
# This is to clean up the log file before running log_analyzer.php on it in order to get accurate results.
sed -e '/^\-\-\- clients\//,+1d' \
    -e '/^\-\-\- change\//,+1d' \
    -e '/^\-\-\- groups\//,+1d' \
    -e '/^\-\-\- meta\//,+1d' \
    -e '/^\-\-\- storageup\//,+1d' \
    -e '/^\-\-\-.* peek count/d'

# Change User Description Committed
#1 28964 Russell C. Jackson (Rusty) Adding in the log_analyzer scripts