genstats creates statistics for any text file.
Generate a list of hostnames in /var/log/messages with the frequency of their occurrence.
cat /var/log/messages | genstats -f 4 -v
What's New in This Release:
· A "simple" mode was added. In this mode, only the count and string are output, making it easier to process with other tools.