Operating System - HP-UX
1819934 Members
3324 Online
109607 Solutions
New Discussion юеВ

How to obtain the serial number of my HP Visualize workstations?

 
SOLVED
Go to solution
Alfonso_4
Advisor

How to obtain the serial number of my HP Visualize workstations?

The finance department of my company want us to do an inventory of all workstations that we have. I already make a script to obtain all data that they need, except maybe the most important: the serial number.
Does anybody know if is there an hpux11.0 command in order to get the serial number of a workstation that I could use in my script?
4 REPLIES 4
Michael Steele_2
Honored Contributor

Re: How to obtain the serial number of my HP Visualize workstations?

Regarding "...get the serial number of a workstation that I could use in my script?..." - No.

There are SW S/N's and HW S/N's. The HW #'s always appear on the outside probably on the Manufacturer's stamp.

HP tracks HW S/N's for support contracts and this is probably what your finance dept. wants.

SW S/N's are installed via SSCONFIG by an HP CE and used for licensing purposes. They are programmed into the system board:

Try these for the SW S/N.

# uname -i

# stm > information
Support Fatherhood - Stop Family Law
Jannik
Honored Contributor
Solution

Re: How to obtain the serial number of my HP Visualize workstations?

You have many different ways.

1. look at the box and find the number :-).
2. uname -i
3. stm (mstm).
4. with ignite you have the tool print_manifest.
5. use the c-program:
#include

main()
{
char buf[81];
if (confstr(_CS_MACHINE_SERIAL, buf, sizeof(buf)) <= 0) {
perror("confstr");
exit(1);
}
printf(" machine serial number = %s\n", buf);
}
jaton
Alfonso_4
Advisor

Re: How to obtain the serial number of my HP Visualize workstations?

I was afraid that was the answer. My finance department wants the HW S/N, I already have a script to obtain the serial number of dell equipment, I thought I could do the same with HP. Thanks any way.
Alfonso_4
Advisor

Re: How to obtain the serial number of my HP Visualize workstations?

Thanks Jannik.