0

I'm having 2 solaris machines to manage, So i want to write my own scripts for getting various information. I'm able to get most of the information but not able to retrieve following:

  • Chassis type
  • Mother Board S/N
  • OS Language

I have no physical access to the machine. I'hv already tried dmi_cmd but it just got stuck at connecting. I'm not able to find sneep package. locale does not provide language information. Even if i try to set it, the command exits with error saying unable to set locale.

smbios would not work hence its a sparc machine.

Sven
  • 100,763
bikram990
  • 101

2 Answers2

0

Little rusty on sparc/solaris, but these might help ...

  • Chassis type : As far as I remember one of the uname switches will give you a model, e.g. v240. If you just run uname -a it should be in there somewhere.
  • S/N : try prtconf -v or lsconf
  • echo $LOCALE ?
chrskly
  • 1,609
0

The command prtdiag will give you as much HW info as I have seen on Solaris machines look at /etc/default/init for default language settings

trent
  • 3,094