Not much code. It's simple and clean.
Had to use this because i was unable to get the default nagios-plugins' check_users binary to output the performance data in the way i wanted so i added it to this script myself and used it instead.