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 thing 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.

About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today