<br><br><div><span class="gmail_quote">On 9/8/06, <b class="gmail_sendername">Petre Scheie</b> <<a href="mailto:petre@maltzen.net">petre@maltzen.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
fl_teachertool?<br><br>How does fl_teachertool figure out who is logged in?  (Robert?)</blockquote><div><br><br>netstat -t -e -n|grep :6000| grep -w ESTABLISHED |sed -e 's/:/ /g'|awk '{print $9,$6}'|sort|uniq<br><br>I then change UID's to usernames cause getting UID's is a lot faster with netstat
<br>but if speed is not an issue this will work<br><br>netstat -t -e|grep x11|grep ESTABLISHED|sed -e 's/:/ /g'|awk '{print $9,$6}'|grep -v root|grep -v gdm|grep -v xdm|grep -v kdm|sort|uniq<br><br>I tried using "last" as Huck describes but I found that it truncated long usernames so I had to stick with netstat.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Petre<br><br>Huck wrote:<br>> One odd thing while check'n the Logged in Users on the LTSP Server...is
<br>> that it doesn't report users logged in via the Thin Clients...<br>> likely it uses the 'users' command to glean the information ... and Thin<br>> Client logins are not reflected there...<br>><br>> any tips to get it to reflect the users of thin clients?
<br>><br>> --Huck<br>><br>> _______________________________________________<br>> K12OSN mailing list<br>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>><br><br>_______________________________________________<br>K12OSN mailing list
<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org">
http://www.k12os.org</a>><br></blockquote></div><br><br clear="all"><br>-- <br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada<br>Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">
http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">http://www3.telus.net/public/robark/</a>