Created
October 12, 2016 02:45
-
-
Save roxma/03b9ceddac37b3884552626ac2a21a07 to your computer and use it in GitHub Desktop.
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
curl http://localhost:9200/_cat/segments?v 2>/dev/null | awk 'NR>1{ arr[$1]+=$10; } END{for (a in arr) print a,arr[a];}' | sort -k 2 -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment