Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (4) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dial(2)

ip(3)

u9fs(4)

EXECNET(4)

NAME

execnet − network interface to program execution

SYNOPSIS

­execnet [ ­-n ­name ] [ ­netdir ]

DESCRIPTION

­Execnet presents a network protocol directory (see, for example, ip(3)) called netdir/name (default /net/exec). 

Once the protocol directory exists, dialing (see dial(2)) strings of the form name!cmd will connect to a newly executed instance of cmd.

EXAMPLE

­Execnet can be used to connect to instances of u9fs(4) running on other hosts:

    g% execnet
    g% srv -m ’exec!ssh ny start-u9fs’ ny /n/ny

This example assumes that the remote command ­start-u9fs executed on ­ny will start ­u9fs appropriately.  For example, it might be:

    ny% cat start-u9fs
    #!/bin/sh
     u9fs -na none -u $USER -l $HOME/tmp/u9fs.log
    ny%

See the u9fs(4) man page for more information.

SOURCE

­/sys/src/cmd/execnet

SEE ALSO

dial(2), ip(3), u9fs(4)

BUGS

Almost certainly: execnet has only been tested as in the example shown. 

Plan 9  —  April 26, 2002

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