HP-UX: How can I retrieve the system serial number

cstm is installed with the OnlineDiagnostics / Support Tools Bundle on HP-UX 9000 systems:

# echo "sc product system;info;wait;il" | cstm | grep -i "system serial"
# echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial"
# SERIAL_NUMBER=$(echo "sc product system;info;wait;il" | cstm | grep -i "system serial" | awk -F: '{print $2}') # echo $SERIAL_NUMBER
# getconf MACHINE_SERIAL
HP-UX 11i v2 on Itanium-based systems, use the machinfo command:
# machinfo | grep "machine serial"

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


8 − six =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>