Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pvm_mstat(3PVM) — Parallel Software Environment 1.9

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pvm_notify(3PVM)

pvm_config(3PVM)

MSTAT(3PVM)  —  Subroutines

NAME

pvm_mstat − Returns the status of a host in the virtual machine. 
 

SYNOPSIS

Cint mstat = pvm_mstat( char ∗host )
 
Fortrancall pvmfmstat( host, mstat )

 

PARAMETERS

hostCharacter string containing the host name. 

mstatInteger returning machine status:

valueMEANING
PvmOkhost is OK
PvmNoHosthost is not in virtual machine
PvmHostFailhost 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. 
 

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).

SEE ALSO

pvm_notify(3PVM), pvm_config(3PVM)

  —  30 August, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026