- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Serial number
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 03:31 AM
03-04-2003 03:31 AM
Serial number
How to get Serial Number (I don't have file /usr/local/etc/serial_number) and System Handle in HP-UX 11.0?
Thank's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 03:47 AM
03-04-2003 03:47 AM
Re: Serial number
Else you need to take that down physically from the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 03:47 AM
03-04-2003 03:47 AM
Re: Serial number
/usr/sbin/cstm -> map -> sel dev 1 -> info ->infolog
System Handle:
You'll have to read that off your support contract or contact the Response Center - with the serial number, they can tell you the Handle.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 03:57 AM
03-04-2003 03:57 AM
Re: Serial number
The serial number is electronically readable only on newer computers. Note that the serial number and System Handle are all part of a support contract with HP and this info should be written into your support notebook (all sysadmins should keep a support notebook). For older computers, you'll have to crawl around in the back (some have the serial number inside the front access door) and write down the computer's number. The System Handle is sent to you when the Support Contract is written.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:09 AM
03-04-2003 04:09 AM
Re: Serial number
also you can Search
serial number
with exact phrase radio button on the forums.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:31 AM
03-04-2003 04:31 AM
Re: Serial number
But I should like to get this info from command line if this possible.
(stm already installed).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:38 AM
03-04-2003 04:38 AM
Re: Serial number
echo "selclass qualifier cpu;info;wait;infolog" | cstm |grep -i serial
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:42 AM
03-04-2003 04:42 AM
Re: Serial number
Here is the script I use to get the serial number :
----------------------------------
CSTM=/tmp/SN.cstm
echo "/usr/sbin/cstm << %" > $CSTM
echo "sel dev 1" >> $CSTM
echo "info;wait" >> $CSTM
echo "il" >> $CSTM
echo "done" >> $CSTM
echo "quit" >> $CSTM
echo "ok" >> $CSTM
echo "% " >> $CSTM
chmod +x $CSTM
SN=$($CSTM | grep "System Serial Number" | cut -d: -f2)
echo "The $(hostname) serial number is $SN"
rm $CSTM
exit 0
---------------------------------------
Regards,
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:52 AM
03-04-2003 07:52 AM
Re: Serial number
Nice script. Works on N and L class system. however fails on a K class
Old versions of the print_manifest command were able to get the serial number on a K class so it must be possible. Too bad they removed this option in the later versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:18 AM
03-04-2003 08:18 AM