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 systemninfolognexit"|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
HP-UX 11i v2 on Itanium-based systems, use the machinfo command:
# machinfo | grep "machine serial"

Leave a Comment

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

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top