sereial number

Dear ALL

How can I know the sereial number by command ?

serial number of what?

/L

For server my friend

Is there such a thing as an HP-UX serial number? Sorry, can't help You.

for example in AIX you can type "prtconf" to get Machine Serial Number

jbvrprd(root)/> prtconf
System Model: IBM,7040-671
Machine Serial Number: 83AFDBC
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1500 MHz
CPU Type: 64-bit
Kernel Type: 32-bit
LPAR Info: 2 BVRPRD
Memory Size: 4096 MB
Good Memory Size: 4096 MB
Firmware Version: IBM,RG040325_d75e04_s
Console Login: enable
Auto Restart: false
Full Core: false

May or may not be possible. Depends on the type of hardware. For most IPF models, machinfo should work.

# dmidecode

This command will give U the same in Redhat Linux

What for?
Is it a software requirement (like SAS...) for obtaining a license key?
Without more information (type of server - what OS its running ), difficult to answer...

machinfo / cstm should give u the serial number of the server.

(u have to have cstm installed to use it)

-GGR

Hello,

in

/var/opt/ignite/local/manifest/manifest.info the information is located.

or command :

more /var/opt/ignite/local/manifest/manifest.info | grep SERIAL

Use the tool "cfg2html", this give you all information about your system.

Regards

machinfo|grep serial

lookout of machine serial number = xxxxxxx

Hello,

this command is not HP-UX !

!! machinfo not found !!

Regards

uname -i

Alternatively (with HPUX 11.11)
getconf "MACHINE_IDENT"

The command is hardware and release version specific. Here is more info:

machinfo(1) machinfo(1)
Itanium(R)-Based Processor Family Only

NAME
machinfo - print machine information

SYNOPSIS
machinfo

DESCRIPTION
machinfo prints useful debugging information about the machine. The
information includes chip stepping, firmware revision, number of CPUs,
and amount of memory.

  Note the CPU-specific data only applies to the processor running the
  machinfo command.  Running the machinfo command on another CPU could
  result in different CPU-specific information being displayed.  Use the
  mpsched\(1\) command to force machinfo to execute on other processors.

SEE ALSO
getconf(1), mpsched(1), uname(1).

machinfo only works in HPUX 11.23
not in 11.11 and 11.31 :slight_smile:

echo "selclass qualifier system;info;wait;infolog" | /usr/sbin/cstm | grep "System Serial Number"

Above command will work :slight_smile:

Hi Puneet

Try this one:

getconf CS_MACHINE_SERIAL

Regards