HPE GreenLake Administration
Operating System - HP-UX
1829750
Members
1419
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-08-2006 02:37 PM
05-08-2006 02:37 PM
uname
I'm running HPUX 11.0. When I type uname -a, it returns:
-t pds33 B.11.00 U 9000/785 2003051516 unlimited-user license
I don't think -t should be there. How do I change this. One of my applications runs a script which uses uname but gives me an error now.
-t pds33 B.11.00 U 9000/785 2003051516 unlimited-user license
I don't think -t should be there. How do I change this. One of my applications runs a script which uses uname but gives me an error now.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 03:09 PM
05-08-2006 03:09 PM
Re: uname
Use uname with -S option to change the uname to what you want to get displayed.
#uname -S rajeev
will set the uname to rajeev
#uname -S rajeev
will set the uname to rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 03:15 PM
05-08-2006 03:15 PM
Re: uname
Also check your /etc/rc.config.d/netconf file to see you have the correct entry for HOSTNAME in that file.
Because uname -S will set the hostname until the server is rebooted. uname -S is run everytime the server is rebooted and is set to $HOSTNAME defined in /etc/rc.config.d/netconf configuration file.
Because uname -S will set the hostname until the server is rebooted. uname -S is run everytime the server is rebooted and is set to $HOSTNAME defined in /etc/rc.config.d/netconf configuration file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:02 AM
05-09-2006 12:02 AM
Re: uname
This has been a common error in the past. As mentioned, the netconf file should have:
HOSTNAME=myname
where "myname" is the computer's 8 character hostname. The -t is probably an artifact of not having the variable HOSTNAME defined. Once HOSTNAME is set correctly, if -t still shows up, trace the script /sbin/init.d/hostname to see if there is a spelling error.
Bill Hassell, sysadmin
HOSTNAME=myname
where "myname" is the computer's 8 character hostname. The -t is probably an artifact of not having the variable HOSTNAME defined. Once HOSTNAME is set correctly, if -t still shows up, trace the script /sbin/init.d/hostname to see if there is a spelling error.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP