- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname more than 8 characters
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
10-17-2001 07:58 AM
10-17-2001 07:58 AM
hostname more than 8 characters
But in Uname -a command it gives on 8 characters. Is there is any way we can get the
complete hostname in "uname" command .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 08:11 AM
10-17-2001 08:11 AM
Re: hostname more than 8 characters
Check out /usr/include/sys/utsname.h where UTSLEN is limited to 9. setuname() call
sets the nodename with the size being "namelen" equal to UTSLEN -1 = 8.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 08:14 AM
10-17-2001 08:14 AM
Re: hostname more than 8 characters
Here's a couple of other threads on the subject:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x2db614a24fd1d4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,11866,0xeecad06ed8c8d4118fef0090279cd0f9!1,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x5b6137f45ef7d4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 09:04 AM
10-17-2001 09:04 AM
Re: hostname more than 8 characters
No NO NO. don't do it. You are asking for lots of trouble and grief.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2001 09:55 AM
10-17-2001 09:55 AM
Re: hostname more than 8 characters
We use 2 chars for country code, 3 chars for system type (dfs - data file server, xts - xterm server, etc) and 3 chars for a number.