The dot in ... --- ...

Chris Gerhard's Weblog

automount automounter blogging bonk books boot britain brompton camera camp camping club commuting cron ctc cycling cyclosportif dads disk dtrace dynamo firefox gaim good+morning+build goodmorningbuild gps grub helmetcam helmets highway_code holiday homeserver hub humour im iscsi keyboard korn ksh laptop law lights liveupgrade london media molesey-bbt nautilus nawk nevada nfs one-liner opensolaris panic planetcycling play politics rain randonee ray road samba santa scp scsi scsi.d service shared-shell shell smf snapshot snapshots solaris son south sportif ssh sun sun+ray suncec2007 sunray sunsolve sysadmin tour travel triplet ufs unix usb video western windows work zfs zigzag zones
« Previous day (May 21, 2007) | Main | Next day (May 22, 2007) »

20070522 Tuesday May 22, 2007

Sun Ray firmware version

Peter gives an undocumented way to find out the firmware version of your Sun Ray. I have three problems with this.

  1. It uses an undocumented interface which therefore is likely to change

  2. It does not work for me.

  3. It involved Cut'n'Paste when we have nawk out there.

Here is how I would do the same. I look forward to someone from thinkthin1 to tell me the correct way:

/opt/SUNWut/bin/utwho -c | nawk '$3 == ENVIRON["LOGNAME"] { 
        system(sprintf("/opt/SUNWut/sbin/utquery %s\n", $4)) 
}'

Should I worry that I can type this kind of think into the command line?


1I know I am down as a thinkthin author. It is a vanity thing. I was invited to be an author and accepted the invitation before thinking it through. I use Sun Ray. I love Sun Ray but what I do day to day, or try to do day to day is write about things I am expert in, therefore following 50% of the advice I was given when I started blogging. The thing is I don't claim to be expert on Sun Ray. I know enough to be dangerous so have never felt the urge to post a “Sun Ray” specific expert article.


( May 22 2007, 12:22:40 PM BST ) Permalink Comments [4] Trackback

    Slynkr This  

Valid HTML! Valid CSS!

Except where otherwise noted, this site is
licensed under a Creative Commons License 2.0

This is a personal weblog, I do not speak for my employer.