Skip to content

Instantly share code, notes, and snippets.

@li-ch
Created October 26, 2016 11:01
Show Gist options
  • Save li-ch/3ac690c8da62bd13222d603011d630fd to your computer and use it in GitHub Desktop.
Save li-ch/3ac690c8da62bd13222d603011d630fd to your computer and use it in GitHub Desktop.
#!/bin/bash
cat after.log | egrep '(r|t)x_pause_dur' | tr -s ' ' | cut -d ' ' -f 3
# print log file to std
# filter out the insterested part
# trim out the unnecessary parts
# cut the output into parts, and select the column.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment