Cluster

How do you get the Machine S/N. on # Prompt.

Questions by anupam_vats   answers by anupam_vats

Showing Answers 1 - 15 of 15 Answers


There is no command to get the serial number of a SUN server at either the boot prompt or after booting.

The banner command at the ok prompt give you the MAC address - once booted, you can see the MAC as root by running the ifconfig -a.
Or you might be looking for hostid (which is the command also).

Following command will show S/N on few servers,but I am not sure if this will work for your SUN machine.


# uname -X
System = SunOS
Node = HOSTNAME
Release = 5.8
KernelID = Generic_108528-18
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4


Thanks,
Amit Shiknis

  Was this answer useful?  Yes

JasonZX12R

  • Feb 3rd, 2010
 

If it is showing unknown it is not set in sneep.  sneep will give your system serial number


/opt/SUNWsneep/bin/sneep

You can also use this to set your serial.

  Was this answer useful?  Yes

Priyabrata Pradhan

  • Jan 18th, 2015
 

smbios

  Was this answer useful?  Yes

Alin

  • Mar 25th, 2015
 

#sneep

  Was this answer useful?  Yes

Fred

  • Mar 30th, 2015
 

prtdiag -v

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions