Created
February 14, 2016 15:28
-
-
Save icchy/ddacc226eb970c838862 to your computer and use it in GitHub Desktop.
access_logから雑にOS固有っぽい文字列を抽出するやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat access_* | gawk -v FPAT='(\"[^\"]+\")' '{print $3}' | cut -d"(" -f2- | cut -d")" -f1 | sort | uniq -c | sort -gr | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment