The problem with these is that in a very busy FOG or a cold restart with a lot of DTU's, these types of queries creates additional strain since they must talk to the session manager or the auth manager. In certain situations can take over 1 minute to return data, sometimes they never return or return blank data since due to a timeout. This is turn can cause bad things to happen in your script that relies on this information. That's why I prefer the non-invasive methods.

Jason Winningham wrote:

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
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to