HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to monitor a pool of processes
Operating System - HP-UX
1832084
Members
3087
Online
110037
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
11-24-2005 04:38 AM
11-24-2005 04:38 AM
How to monitor a pool of processes
All,
I've the following trouble and I'm wondering if someone can help.
I have to monitor a pool of processes already started with a new process I've to implement in order to restart a process if dies.
If the death process was a son of my process I can manage it with a SIGCHL but as this is not the case I want understand if it's mandatory to loop on it to check if still running or I can do something in order to be waked by the system when it dead.
Do you think exists something like a "process group" I can setup and then have info by the system on the processes belonging to it?
Thanks for your help and suggestions.
Roy
I've the following trouble and I'm wondering if someone can help.
I have to monitor a pool of processes already started with a new process I've to implement in order to restart a process if dies.
If the death process was a son of my process I can manage it with a SIGCHL but as this is not the case I want understand if it's mandatory to loop on it to check if still running or I can do something in order to be waked by the system when it dead.
Do you think exists something like a "process group" I can setup and then have info by the system on the processes belonging to it?
Thanks for your help and suggestions.
Roy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 06:49 AM
11-24-2005 06:49 AM
Re: How to monitor a pool of processes
Hi Roy,
You could take a look at MC/SG this enables you to guard services. If the service is not available you can let MC/SG restart the proc if this happens you can do a restart n times. n+1 can also trigger a restart of the service on an other node. But this software is not free and requires a HA env. to be usefull ( no SPOF)
You can also create a script that checks if a proc is running, and if so if its parant is alive, and if do if a proc is running with PPID -eq 1 and if not restart the Parant.
HTH,
Gideon
You could take a look at MC/SG this enables you to guard services. If the service is not available you can let MC/SG restart the proc if this happens you can do a restart n times. n+1 can also trigger a restart of the service on an other node. But this software is not free and requires a HA env. to be usefull ( no SPOF)
You can also create a script that checks if a proc is running, and if so if its parant is alive, and if do if a proc is running with PPID -eq 1 and if not restart the Parant.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 04:43 AM
12-28-2005 04:43 AM
Re: How to monitor a pool of processes
Thanks.
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