You might be able to grep from /var/opt/SUNWut/log/messages and parse. Not pretty, but there is a ton of info in there.
/paul -----Original Message----- >From: Bob Doolittle <[email protected]> >Sent: Mar 11, 2009 9:16 PM >To: SunRay-Users mailing list <[email protected]> >Subject: Re: [SunRay-Users] Finding out which DTU or token I'm using > >Ceri Davies wrote: >> Glad that "utuser -p" is on the right lines at least :) >> >> But there's no real lightweight way to get the DTU token ? I need to be >> able to disable speaker output if a session is migrated to a DTU in, >> say, a library for example. >> > >I don't think we realized how common this request might be. >If you have the latest 4.1 (or 4.0) patch, try utuser -xo. It's similar >to utuser -o, but includes the logical token as the first field. > >It's not documented, which should probably be corrected, since clearly >it has value to some users. > >utuser -xo is somewhat more expensive than utuser -p, because it has to >read and format records for all the tokens instead of just one, but it's >friendlier to parse and the difference in cost shouldn't be that great. >It's nowhere near as expensive as something involving a utauthd callback >- I wouldn't worry about it. > >-Bob > >_______________________________________________ >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
