freq is a Perl script used to analyze the last log. It works on Linux systems, but may also work on other UNIX-based systems that have the same format for their lastlog. I have added some preliminary support for SunOS and IRIX, though this has not been tested to the point where I would know if it is completely working or not.
It can spit out information regarding how many times a user has logged
in as well as what days, terminals, hours, and months are most popular
for logins. In addition, it can sort this information alphabetically or
ascending or descending by number of logins. It can even generate simple