- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
Forums
Discussions
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
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-25-2003 01:10 PM
03-25-2003 01:10 PM
serial number
thanks in advance
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 01:18 PM
03-25-2003 01:18 PM
Re: serial number
Have you got ignite installed ?
# print_manifest | grep "Serial number:"
if not you can try,
# getconf CS_MACHINE_SERIAL
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 01:20 PM
03-25-2003 01:20 PM
Re: serial number
# echo "sel path system;info;wait;infolog
>view
>done
>"|cstm > info
# cat info
OR
# /opt/ignite/bin/print_manifest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 01:22 PM
03-25-2003 01:22 PM
Re: serial number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 01:46 PM
03-25-2003 01:46 PM
Re: serial number
I tried the commands suggested, but it's not returning the serial no. My swlist not showing any bundle etc., related to ignite-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:05 PM
03-25-2003 02:05 PM
Re: serial number
If above answers do not give any results, go for the old fashioned way, look at the backside of the server. You will find a S/N number.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:06 PM
03-25-2003 02:06 PM
Re: serial number
Here is a good posting on installing you OS and other software. It is a very good guide.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x4499e7e60861d511abcd0090277a778c,00.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:08 PM
03-25-2003 02:08 PM
Re: serial number
I want to retrive the serial and use it in one of my programs, I can't hardcode it.
Is there any otherways to install ignite on this box?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:08 PM
03-25-2003 02:08 PM
Re: serial number
What is the hardware you have. On the latest hardware like L, N etc., you can get it from cstm.
On the other servers, you will have to physically look at the system to get the serial number.
If you didn't overwrite the factory built OS, then print_manifest can retrieve the Serial number from the seed file already populated by HP.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:16 PM
03-25-2003 02:16 PM
Re: serial number
Ignite is a free hp software product you can download it on next page.
http://www.software.hp.com/products/IUX/download.html
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:20 PM
03-25-2003 04:20 PM
Re: serial number
your command is working on 11i but on 11.0 it is returning cstm not found.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:32 PM
03-25-2003 04:32 PM
Re: serial number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 04:08 AM
03-26-2003 04:08 AM
Re: serial number
If you just need *a* 'serial number' and, as you mentioned, the proposed solutions do not work for you, then you may just use the serial number returned by "uname -i". For details, see the uname(1) ("man uname") and uname(2) ("man 2 uname") manual pages.
If you need more help, then please let us know *which* 'serial number' you want/need and why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2003 07:58 AM
03-26-2003 07:58 AM
Re: serial number
one way to read it. If you want to read it from C you can do something like the following. This only works on newer systems. (In this case, an rx2600). I'm still trying to find out exactly which models support this method. So far it appears to be a pretty small percentage of the total installed base of PA systems.
As Frank(?) mentioned, there are really several serial numbers. The one returned by uname is in a different format.
$ cat ser.c
#include
main()
{
char buf[81];
if (confstr(_CS_MACHINE_SERIAL, buf, sizeof(buf)) <= 0) {
perror("confstr");
exit(1);
}
printf(" machine serial number = %s\n", buf);
exit(0);
}
$ cc ser.c
$ ./a.out
machine serial number = US25060964
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2003 05:21 AM
06-02-2003 05:21 AM
Re: serial number
I know it doesn't work on L-Class. I got a JAG called in for it. Getconf and conftstr both don't work. But I know the serial number is there because HP has a sysinfo product that has a binary supplied with it that does work on the L-Class.
I also ended up finding another way to get the serial number:
echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number"
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 05:53 AM
03-24-2005 05:53 AM