Skip to content

Instantly share code, notes, and snippets.

@hannahwhy
Last active August 29, 2015 14:19
Show Gist options
  • Save hannahwhy/590ed5c620260a9eb29d to your computer and use it in GitHub Desktop.
Save hannahwhy/590ed5c620260a9eb29d to your computer and use it in GitHub Desktop.
ArchiveBot firehose view
#!/bin/sh
# assumes iocat (https://www.npmjs.com/package/iocat) is somewhere in PATH
iocat ws://dashboard.at.ninjawedding.org:4567/stream | grep -v '^>' | jq -r 'select(.url) | .job_data.ident + "\t" + (.response_code | tostring) + " " + .wget_code + " " + .url'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment