On Jun 15, 2007, at 10:14 AM, Trevor Dell wrote:

Was I reading correctly and Jason wants to get the MAC address from a unit?

close, I really want the location field from srds.

/opt/SUNWut/sbin/utuser -p $SUN_SUNRAY_TOKEN | grep 'Current Desktop' | awk '{print $4}'


That works, and even better

/opt/SUNWut/sbin/utuser -p $SUN_SUNRAY_TOKEN | grep 'Desktop Location' | awk '{print $4}'

gets me exactly what I wanted to know to begin with. This method works with cards and self registered DTUs, too.

thanks!

-Jason
----------------------------------------
Jason Winningham
Computer Systems Engineer
College of Engineering
The University of Alabama in Huntsville
http://support.eng.uah.edu/    http://www.eng.uah.edu/~jdw


_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to