- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX version of 'chkconfig'
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
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
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
тАО09-21-2005 09:41 AM
тАО09-21-2005 09:41 AM
HP-UX version of 'chkconfig'
Cheers in advance,
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 09:55 AM
тАО09-21-2005 09:55 AM
Re: HP-UX version of 'chkconfig'
I am not exactly sure, but there is no such a command in HP-UX, and I haven't heard about a port of this usefull command.. :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 10:36 AM
тАО09-21-2005 10:36 AM
Re: HP-UX version of 'chkconfig'
You would need to create your own init scripts.
Can start with a copy of 1 of the init scripts and then make the necessary changes. Then make the additions a nd links as required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 01:53 PM
тАО09-21-2005 01:53 PM
Re: HP-UX version of 'chkconfig'
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2005 02:25 AM
тАО09-22-2005 02:25 AM
Re: HP-UX version of 'chkconfig'
Cheers,
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2005 01:40 AM
тАО09-23-2005 01:40 AM
Re: HP-UX version of 'chkconfig'
approaches to the rc?.d configuration.
HP-UX uses two links, one for startup and one
for shutdown. This is because scripts at all run levels up (or down) to the desired level
are run in sequence.
RedHat (Linux) runs the scripts for the
the desired level only requiring many more
links and hence the creation of chkconfig.
For HP-UX it should be trivial to write a
chkconfig script.
- Grep out the config line.
- parse the config line.
- unlink the scrip in all rc?.d directories
- link the start script.
- calculate the kill link rc = (rc - 1),
sequence = (1000 - sequence )
- link the kill script.