- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what is the purpose of hostid
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
Discussions
Discussions
Forums
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
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
тАО08-04-2009 10:54 AM
тАО08-04-2009 10:54 AM
My superior asked me for HPUX and Linux hostid.
How to find that and what is the command to view the hostid for HPUX and Linux server.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 11:01 AM
тАО08-04-2009 11:01 AM
Re: what is the purpose of hostid
Do you have a name or a label by which you are known?
# hostname
# uname -n
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 11:04 AM
тАО08-04-2009 11:04 AM
Solutionuname -i
For Linux:
hostid
I think it was primarily used by some licensing mechanisms. (At least, that's all I ever recall using it for in the old days when I supported SunOS 4.X and IRIX.) Don't know if it still is or not.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 02:13 AM
тАО08-05-2009 02:13 AM
Re: what is the purpose of hostid
Hostid is not a very valuable piece of
information nowdays.
I am not sure why your manager would
asko for it. In olden times, various
software were licensed against hostid.
That way it was supposed to ensure there was
not abuse of running the "unlicensed"
software.
Here are some ideas how to obtain hostid
that FlexLM on different platforms...
AIX (RS/6000, PPC):
"uname -m" (returns a numberic value, remove
last two digits, and use the remaining
eight digits
DEC Alpha:
"netstat -i"
HP-UX (32-bit and 64-bit, non-Itanium):
"uname -i" and convert to hex, or add prefix
character #
HP-UX (64-bit Itanium):
"getconf CS_PARTITION_IDENT"
then add prefix ├в ID_STRING=├в
Linux:
"/sbin/ifconfig
HW address, or, if the command exists:
"hostid"
Solaris:
"hostid"
And so on...
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2009 08:30 AM
тАО08-15-2009 08:30 AM
Re: what is the purpose of hostid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2009 07:41 PM
тАО08-15-2009 07:41 PM
Re: what is the purpose of hostid
Use the foillowing command for viewing hostid as
For HP-UX systems : uname -i
For Linux systems : hostid
Rgds-Kranti