Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Developer's Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Providing Process Management

The RMAPI and the DSDL provide process management facilities to implement resource monitors and resource control callbacks. The RMAPI defines the following facilities:

Process Monitor Facility (PMF): `pmfadm` and `rpc.pmfd`

  Provides a means of monitoring processes and their descendants, and restarting processes if they die. The facility consists of the `pmfadm` command for starting and controlling monitored processes, and the `rpc.pmfd` daemon.

  The DSDL provides a set of functions (preceded by the name `scds_pmf_`) to implement the PMF functionality. See PMF Functions for an overview of the DSDL PMF functionality and for a list of the individual functions.

  The `pmfadm`(1M) and `rpc.pmfd`(1M) man pages describe this command and daemon in more detail.

`/usr/cluster/bin/halockrun`

  A program for running a child program while holding a file lock. This command is convenient to use in shell scripts.

  The `halockrun`(1M) man page describes this command in more detail.

`/usr/cluster/bin/hatimerun`

  A program for running a child program under timeout control. This command is convenient to use in shell scripts.

  The DSDL provides the `scds_hatimerun()` function to implement the features of the `hatimerun` command.

  The `hatimerun`(1M) man page describes this command in more detail.

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |