[K12OSN] collect stats

Huck dhuckaby at paasda.org
Fri Sep 8 21:44:46 UTC 2006


it worked by changing unix_users.pl to this:
###################################################

#!/usr/bin/perl

my $grep_string = $ARGV[0];

chomp $grep_string;

         $output = `last | grep still | grep -c :`;

chomp($output);
print $output;

####################################################
Yay. Pretty graphs!

Huck wrote:
> One odd thing while check'n the Logged in Users on the LTSP Server...is 
> that it doesn't report users logged in via the Thin Clients...
> likely it uses the 'users' command to glean the information ... and Thin 
> Client logins are not reflected there...
> 
> any tips to get it to reflect the users of thin clients?
> 
> --Huck
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> 




More information about the K12OSN mailing list