Question
How does Inventory for UNIX gather serial numbers?
Answer
The method used by Inventory for UNIX to gather serial numbers is dependent on the platform.
Linux:
direct access to SMBIOS, if possible.
Solaris: sysinfo() call.
Gathering the serial number on Sun operating-system platforms is difficult, if not impossible. Sun also has a utility called Sneep.
HP-UX: uname -i
The "man" pages state that this will: Display the machine identification number (or the node name, if the machine identification number cannot be determined).Note: Following are related commands used on HP-UX:
HW_Baseboard.SerialNumber
lscfg -vpl <id>
HW_Chassis.SerialNumber
lscfg -vpl <id>
HW_Storage.SerialNumber
lscfg -vpl <id>
HW_CompyterSystem.IdentifyingNumber
lsattr -El sys0 -a systemid
OS_OperatingSystem.SerialNumber
lsattr -El sys0 -a systemid
AIX: uname -u
The "man" pages state that this: Displays the system ID number. If this attribute is not defined, the output is the same as the output displayed by uname -m.