The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[help] how to get serial number of cpu or other hardware bucci SUN Solaris 8 05-25-2008 09:03 PM
Serial number tpx99 SUN Solaris 4 05-24-2008 08:25 PM
Display Serial Number dkranes SUN Solaris 5 05-16-2008 06:38 AM
how to find serial number chomca AIX 3 05-26-2006 07:00 AM
Tape Serial Number jorge.ferreira Shell Programming and Scripting 6 07-23-2004 07:31 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2003
Registered User
 

Join Date: May 2002
Posts: 21
serial number for E3500

just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!)
Forum Sponsor
  #2  
Old 04-09-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
There is no command to get the serial number of a SUN server (E3500 or any other) 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).
  #3  
Old 04-10-2003
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
on aix its uname.
Code:
HOSTNAME:/root# uname -x
AIX HOSTNAME 43414860 3 4 000296754C00

In this case i know the serial is 29675. please note the serial number does not include the 4c00.
supposeidly for solaris it is uname -X but i dont think it works properly.
Code:
# 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
you can read 'man -s 2 sysinfo'
Code:
SI_HW_SERIAL
           Copy into the array pointed to by  buf a string  which
           is  the  ASCII representation of the hardware-specific
           serial number of the physical  machine  on  which  the
           function  is  executed.  Note  that this may be imple-
           mented in Read-Only Memory, using  software  constants
           set  when  building  the operating system, or by other
           means, and may contain non-numeric characters.  It  is
           anticipated that manufacturers will not issue the same
           "serial number" to more than one physical machine. The
           pair   of  strings  returned  by   SI_HW_PROVIDER  and
           SI_HW_SERIAL  is  likely  to  be  unique  across   all
           vendor's SVR4 implementations.
  #4  
Old 04-10-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
"uname -X" and sysinfo() were added to Solaris to make it compatible with System V Release 4. That stuff is only on SVR4 systems. And it can't really obtain a serial number on Solaris.

Sun does have a command called "hostid". The string that it outputs is often used for software licenses.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0