PVM(1PVM)

NAME
pvm - PVM version 3 console

SYNOPSIS
pvm [ -options ] [ hostfile ]

DESCRIPTION
Pvm is a stand alone PVM task which allows the user to interactively query and modify the virtual machine. The console can be started and stopped multiple times on any of the hosts in the virtual machine without affecting PVM or any applications that may be running.

When started pvm determines if PVM is already running and if not automatically executes pvmd3 on this host, passing pvmd3 the command line options and host file. Thus PVM need not be running to start the console. Once started the console prints the prompt:
    pvm> The following console commands are available:
    add  hostname(s)    - add hosts to virtual machine
    alias               - define/list command aliases
    conf                - list virtual machine configuration
    delete  hostname(s) - delete hosts from virtual machine
    echo                - echo arguments
    halt                - stop pvmds
    help [command]      - print helpful information about a command
    id                  - print console task id
    jobs                - list running jobs
    kill  task-tid      - terminate tasks
    mstat host-tid      - show status of hosts
    ps -a               - list all PVM tasks
    pstat task-tid      - show status of tasks
    quit                - exit console
    reset               - kill all tasks
    setenv              - display/set environment variables
    sig  signum task    - send signal to task
    spawn [opt] a.out   - spawn task
         opts are: -(count)  number of tasks, default is 1
		   -(host)   spawn on host, default is any
		   -(ARCH)   spawn on hosts of ARCH
		   -?        enable debugging
                   ->        redirect task output to console
                   -> file   redirect task output to file
                   ->>file   redirect task output append to file
    trace               - set/display trace event mask
    unalias - undefine command alias
    version - show libpvm version

pvm reads $HOME/.pvmrc before reading commands from the tty, so it can be used to customize the console environment, for example:
    alias ? help
    alias j jobs
    setenv PVM_EXPORT DISPLAY
    # print my id
    echo new pvm shell
    id

EXAMPLES
    pvm
Starts up pvmd3 on the local host or connects to running pvmd3.
    pvm hostfile
Starts up console and pvmd3, which inturn reads the host file and adds the listed computers to the virtual machine.

SEE ALSO
pvm_intro(1PVM), pvmd3(1PVM)