HPE 9000 and HPE e3000 Servers
1753675 Members
5182 Online
108799 Solutions
New Discussion юеВ

Re: Serial number with a command line

 
Olivier Decorse
Respected Contributor

Serial number with a command line

How can i know the serial number of an HP-9000 - HP-UX 10.20, only with a command line ?

Thank's.
Olivier.
They say "install windows 2k, xp or better", so i install unix !
8 REPLIES 8
Victor BERRIDGE
Honored Contributor

Re: Serial number with a command line

The only number you can get by command line is the spu:
uname -i


The real serial-number is on the machine...

Best regards
Victor
Dan Hetzel
Honored Contributor

Re: Serial number with a command line

Bonjour Olivier,

There isn't unfortunately any magical command to retrieve the serial number.

I was looking for the same magic stuff a while ago because I was too lazy to inventory the systems manually (some were remote...)

It's written on the system and doesn't need much effort to retrieve. ;-)

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Paula J Frazer-Campbell
Honored Contributor

Re: Serial number with a command line

Hi
Once you have the serial number create a file with all the relevent serial numbers in it and save it on the server.
Then for future inventry of all sestems just call up this file from each server.
E.G.
____________cut here______________
Server name -
Serial number <123456656>
Other bits

Serial of that bit
___________cut here_______________

HTH

Paula
If you can spell SysAdmin then you is one - anon
Curtis Larson
Trusted Contributor

Re: Serial number with a command line

yes the only way to get the serial number is from having put that information somewhere on the system, (echo your_serial_number > /etc/local/serialnumber. then creating a command such as serialnumber which will cat /etc/local/serialnumber.)

Now if you have predictive support set up (part of setting it is telling it what the system's serial number is), you can get the serial number out of the file where predictive has stored it.

But, someone has to enter the serial before this will work.
James R. Ferguson
Acclaimed Contributor

Re: Serial number with a command line

Hi:

The "software" serial number can be obtained with 'uname -i'. To obtain the hardware (processor) serial number, you open the door of the server on (at least) D- and K-class servers.

You can edit (or create) /var/opt/ignite/local/manifest/ manifest.seed adding a line that like:

"SERIAL ".

Then, whenever you do a 'print_manifest' you will report this information too.

...JRF...
rajsri
Frequent Advisor

Re: Serial number with a command line

If you would have configured predictive tool , you can use /opt/pred/bin/psconfig command to get the serial no .

Sanjay_6
Honored Contributor

Re: Serial number with a command line

Hi Oliver,

No easy way out of this hole. Walk down to the server and take down the serial no. that is the ovly choice, until you have CCTV connected in the server room. doubt even that will help.

Thanks
Olivier Decorse
Respected Contributor

Re: Serial number with a command line

points assigned : no solution under 10.20.
On 11.00, of course, stm (select system/info/il) is the good way !

Olivier.
They say "install windows 2k, xp or better", so i install unix !