1829810 Members
1968 Online
109993 Solutions
New Discussion

Serial Number

 
Warren griggs
Frequent Advisor

Serial Number

Hi,

Does anybody know of a command that you can run to find the system serial number?

Thanks in advance,

Colin.
11 REPLIES 11
Peter Kloetgen
Esteemed Contributor

Re: Serial Number

Hi,

try to run the command:

uname -a

which shows some information about operating system, license and hardware code number.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Corthouts Carlo
Valued Contributor

Re: Serial Number

Hi,

If you have a recent system and a quite recent version of STM you can find the system serial number when requesting system information.

Regards
Warren griggs
Frequent Advisor

Re: Serial Number

Peter,

Thanks for the quick response.

However uname -a does not supply the physical serial number for the machine.

I am able to test this on servers I have physically on-site but am unable to find out the numbers for servers off-site.

Regards,

Colin.
Robin Wakefield
Honored Contributor

Re: Serial Number

Warren griggs
Frequent Advisor

Re: Serial Number

Thanks Carlo,

This does work for our newer servers but not for our older.

Any other ideas?

Regards,

Colin.
K.Vijayaragavan.
Respected Contributor

Re: Serial Number

As i know,

Unless you have kept it ready in some file (manually) , there is now way you can get the serial numbers by issuing command.
You may have to ask some one at off site to look at the serial numbers physically.

-K.Vijay
"Let us fine tune our knowledge together"
Corthouts Carlo
Valued Contributor

Re: Serial Number

Hello,

For your older systems it is not possible to get the system serial number with some command.

You will have to keep a record for the older systems or have it mention in some file on the system so you can check that file afterwards for the serial number.

Regards,


Wherever I lay my hat is my home......but first I will need to get that hat.
Holger Knoppik
Valued Contributor

Re: Serial Number

Hi Colin !
Based on Carlo's first post, you can try it with the following script:
---snip------------------
#!/bin/sh
#
#
#set -x

cstm </dev/null 2>&1
scl type system
info
wait
infolog
saveas
/var/conf/sys.out
done
quit
ok
!
---snip------------------

Then grep 'System Serial' /var/conf/sys.out | awk '{print $4}'

Hope this helps
RGDS, Holger
Live long and prosper!
harry d brown jr
Honored Contributor

Re: Serial Number

Colin,

The serial number of the chassis is not obtainable from older systems like G/H/I's and K's. And although you can get a serial number for some new systems via the OS, it's not always accurate (especially if the mother board is replaced), therefore it's best to keep those numbers manually.

live free or die
harry
Live Free or Die
Mark Greene_1
Honored Contributor

Re: Serial Number

depending on the class of your system, you can run this: /opt/ignite/bin/print_manifest

alternatively, if you have the orginal packing slip that came with the system or a copy of the invoice from your hardware var, the system serial number should be on either of those. You can also trying asking the var if you don't have either of those documents.

HTH
mark
the future will be a lot like now, only later
SHABU KHAN
Trusted Contributor

Re: Serial Number

Hi,

As already mentioned ... if you have ignite loaded then you could try the print_manifest command which gives complete system information and in some cases the serial number also..

print_manifest | grep -i serial

print_manifest actually grabs information from the manifest.info file under /opt/ignite/data/tutorial (standard installation) and formats it and prints on stdout...

-Shabu