Section: PVM Version 3.4 (3PVM)Updated: 30 August, 1993Local indexUp
NAME
pvm_mstat - Returns the status of a host in the virtual machine.
SYNOPSIS
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)
DESCRIPTION
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.