pvm_mstat(3)

pvm_mstat3

Returns the status of a host in the virtual machine.

Usage

C	int mstat = pvm_mstat( char *host )
Fortran	call pvmfmstat( host, mstat )

Parameters

host

Character string containing the host name.

mstat

Integer returning machine status:

	value	MEANING
	PvmOk	host is OK
	PvmNoHost	host is not in virtual machine
	PvmHostFail	host is unreachable (and thus possibly failed)

Overview

The routine pvm_mstat returns the status mstat of the computer named host with respect to running PVM processes. This routine can be used to determine if a particular host has failed and if the virtual machine needs to be reconfigured. The function pvm_notify() can also be used to notify the caller that a host has failed.

Examples

C:
	mstat = pvm_mstat( "msr.ornl.gov" );

Fortran:
	CALL PVMFMSTAT( 'msr.ornl.gov', MSTAT )

Errors

These error conditions can be returned by pvm_mstat

PvmSysErr

pvmd not responding.

PvmNoHost

giving a host name not in the virtual machine.

PvmHostFail

host is unreachable (and thus possibly failed).

Releases

Unchanged in 4 releases since Debian 2.0 (Hamm).

  1. 2.0–3.0

From pvm-dev 3.4.2-8 in Debian 3.0 (Woody). Parsed by carta from the page's man source.