It seems to be impossible on both OS to get the **box** Serial Number directly
from unix (AYnnnnnnnn for DEC boxes or nnnnannnnnn (like 3537G00001) for H.P
boxes - this is what generaly supports ask you when you call them and generaly
you don't have this number beside of you).
You can get everything you want but not that:
(OSF)
1) uerf -r 300 | egrep -i 'DEC OSF/1 V|Digital UNIX V' | sort -u
to get OS name and release
2) Many of our systems don't have a unique hardware serial number. The
software companies that license based on such a number, will usually
fall back on using the primary Ethernet hardware address.
(HP)
1) uname -i
to get the "machine identification number" (what's that ???)
If by "system's serial number" you mean the serial number on the box,
the answer is NO. You can get an id using 'uname -i' but that is NOT
the box serial number....
(*)
1) uname (or uname -a)
to get the host name
Thanks for their fast reply to:
e.platzbecker_at_et.tudelft.nl "Erik Platzbecker"
schuller_at_crnal4.in2p3.fr "Jean Schuller"
abobakr_at_nile.enal.sci.eg "Abobakr A. Aly"
francis.gue_at_sap.ap-hop-paris.fr
alan_at_nabeth.cxo.dec.com "Alan Rollow - Dr. File System's Home for Wayward
Inodes."
HerberM_at_HUB01.TDS-GN.LMCO.com "Herbert, Marc _at_ GRNK"
Original post:
> case $MAILING_LIST in
>
> (hpux-admin_at_cv.ruu.nl)
>
> Is it possible to known system's serial number from HP-UX (9.x and
> 10.x - 700/800 series) ?
>
> (alpha-osf-managers_at_ornl.gov)
>
> Same question for Digital Unix (3.x, 4.x - DEC 2100, 3000, 8200,...)
> ?
>
> esac
Patrice
/############################################################################\
# Patrice LEGOUX #
#------------------------------------+---------------------------------------#
# AXIME Production | Decnet : GSUV09::LEGOUX #
# 4 Rue Sentou +---------------------------------------#
# 92150 SURESNES | Tel : +33(0)14625.5054 #
# France | Fax : +33(0)147.72.04.99 #
# +---------------------------------------#
# E-Mail : Patrice.Legoux_at_gsi.fr #
# X400 : C=FR; ADMD=ATLAS; PRMD=GSI; O=GSI; S=LEGOUX; G=PATRICE #
# Memo : LEGOUX #
\############################################################################/
Received on Mon Feb 24 1997 - 21:40:02 NZDT