Hi, I'm looking for a simple way to get the number of current logged on users (with established sessions) to measure the use frequency of our student labs. I don't need to identify the users. I haven't found anything useful yet. So I'm asking here for some advice before getting myself hacking my own scripts :). Thanks in advance, Ari Constancio
> I'm looking for a simple way to get the number of current logged on > users (with established sessions) to measure the use frequency of our > student labs. I don't need to identify the users.sardine:~ # expr `smbstatus -b | cut -c35-45 | sort | uniq | wc -l` - 3 151 -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org