Skip to content

Instantly share code, notes, and snippets.

@mrmanc
Created June 6, 2014 14:38
Show Gist options
  • Select an option

  • Save mrmanc/b1c9cd4f7a45412c2c71 to your computer and use it in GitHub Desktop.

Select an option

Save mrmanc/b1c9cd4f7a45412c2c71 to your computer and use it in GitHub Desktop.
Find corrupt whisper files
find /usr/local/graphite/storage/whisper/ -name "*.wsp" | xargs -I {} whisper-info.py {} 2>&1 | grep "whisper.CorruptWhisperFile:" | sed -e "s/^.*(//" -e "s/).*$//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment