- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find serial no on hp-ux?
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
07-26-2006 07:19 PM
07-26-2006 07:19 PM
how to find serial no on hp-ux?
Is there any command in HP-UX which gives the serial number of the machine?
This is reqd since we have messed up with a few machines.
Thanks
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:53 PM
07-26-2006 07:53 PM
Re: how to find serial no on hp-ux?
the more sure is :
echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"
Becauseif you have restored a server by ignite on an other server , serial number is
not the good
Regards
L-DERLYN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:53 PM
07-26-2006 07:53 PM
Re: how to find serial no on hp-ux?
seldev 1
info
infolog
or you can check from physical server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:54 PM
07-26-2006 07:54 PM
Re: how to find serial no on hp-ux?
# print_manifest |more
System Information
..
..
...
Serial number: 39--------
you will find serial number from the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 07:55 PM
07-26-2006 07:55 PM
Re: how to find serial no on hp-ux?
on HP-UX 11.23:
# machinfo | grep "machine serial number"
on HP-UX 11/11i:
echo "selclass qualifier system;info;wait;il" | cstm | grep "System Serial Number"
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 09:24 PM
07-26-2006 09:24 PM
Re: how to find serial no on hp-ux?
you can try with the command:
getconf MACHINE_SERIAL
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 07:49 AM
07-28-2006 07:49 AM
Re: how to find serial no on hp-ux?
#include
main()
{
char buf[81];
if (confstr(_CS_MACHINE_SERIAL, buf, sizeof(buf)) <= 0) {
printf("UNKNOWN\n");
exit(1);
}
printf("%s\n", buf);
exit(0);
}
Some of the older machines do not support this, but all the newer ones I have tried do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2006 07:52 AM
07-28-2006 07:52 AM
Re: how to find serial no on hp-ux?
some older models are not aware of the SN.
Newer models should responde to the given commands. What server models you have?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2006 07:51 PM
07-29-2006 07:51 PM
Re: how to find serial no on hp-ux?
Bill Hassell, sysadmin