Here’s another one that will probably be more interesting to administrators or multi-user system fans: logintop10.
It should be fairly obvious what’s happening there: logintop10 parses through your wtmp file (which was at /var/log/wtmp on my Arch system) and comes back with an array of login statistics. Output is to an HTML file of your choosing, with very clean formatting and with a little color here and there.
As far as I can see, there’s no way to adjust the exact output that logintop10 shows, unless you’re willing to manhandle the results. There is an option to “dump raw data,” but that really only adds on a full list of logins to the output page. If you’re on a big system that would create a file of considerable length, so I can see why it’s not enabled by default.
Either way, wtmp is in a binary format that will require some sort of tool to read, so logintop10 is doing you a favor and sifting through the data file, then arranging it in a prettified fashion.
logintop10 comes from the same author as genstats, and so perhaps the two might be useful in tandem.
In AUR, but not in Debian. There is a prebuilt .deb file on the home page though. 😉
I have the
groups command on my list of applications to share, and I was sorely tempted to leave it out, except I couldn’t think of a good reason. So here goes.
Best I can tell — and please, as always, let me know if there’s some sort of kung-fu master way to use this —
groups only returns the groups a user account belongs to.
And I think that’s it. The man page is like four lines long, and I swear, there’s nothing there except
groups [user], end of page.
Now if you want to know what groups are available on a machine, I usually
cat /etc/group, which in Arch spits out a list.
groups is part of shadow, which is the go-to package for everything login-ish for Arch. For Debian, I think that’s passwd. And that … is all I’ve got. 😉
clacct took a little effort to get working, but in the end, it was worth it.
Very straightforward, no interface to speak of, and line-by-line account management. For multiple users and accounts too, apparently.
Like clipf, there doesn’t seem to be a way to edit transactions once you’ve entered them, but the account files are hand-editable, so that shouldn’t be a big problem.
clacct can handle IOUs, which seems unusual among console banking tools. It’ll transfer money between accounts, show recent transactions or a full account history, and a few other things.
And if the home page is to be believed, you can set up rules for regular transactions, like paychecks or automatic bill payments. I’ll be honest: I didn’t dig that far into clacct.
clacct isn’t new; the timestamp on the tarball is 2004, but it seems to work fine for me in Arch. If you decide to try it, you might need to install perl-date-calc, or the equivalent in your distro.
Happy accounting. 😉