- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to save all running process even after reb...
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
тАО05-13-2009 05:38 AM
тАО05-13-2009 05:38 AM
In my hp-ux 11.00,lot of process is running.
When i restart the server some process (which is ran by myself before reboot) are missing from running process list (#ps -ef).
so i need to re-run the process once again whenever i am rebooting the server.
But i want to save (to run automatically even after rebooting) all the process after rebooting.
Is it possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 05:45 AM
тАО05-13-2009 05:45 AM
Re: How to save all running process even after rebooting the server.
you can put your all task in startup file, refer below url for more info.
http://www.unixhub.com/docs/hpux/hpux_boot.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 05:48 AM
тАО05-13-2009 05:48 AM
SolutionYou need to acquaint yourself with the 'rc' (run control) scripts.
I _urge_ you to take the time to begin by reading:
http://docs.hp.com/en/934/startup.pdf
This whitepaper is _still_ valid and is summarized in the 'rc(1M)' manpages too:
http://docs.hp.com/en/B2355-60130/rc.1M.html
Be sure to copy and use '/sbin/init.d/template' as the model for your start/stop needs.
Since you are new to this, _READ_ the whitepaper above first!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 07:12 AM
тАО05-13-2009 07:12 AM
Re: How to save all running process even after rebooting the server.
You need to decide on which run level you want your processes to run and place an appropraite script for start and Kill of that process
/sbin/rc1.d
/sbin/rc2.d
/sbin/rc3.d
/sbin/rc4.d
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 07:16 AM
тАО05-13-2009 07:16 AM
Re: How to save all running process even after rebooting the server.
http://www.unixhub.com/docs/hpux/hpux_boot.html
Like it or worked !! Click kudos !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 03:33 AM
тАО05-15-2009 03:33 AM
Re: How to save all running process even after rebooting the server.
You can add your stuff into /etc/rc.d/rc.local for more information see man rc or see the below link
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=190207
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1234447
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=724759
Suraj