next up previous contents
Next: The RELOAD command Up: Control Commands Previous: Permanence   Contents

The LOAD/-LOAD command

[-]LOAD J=<jurl> | X=<url> | A=<url> | F=<url> [F=<url> ...]
        [T=<anep_id>] [N=<num>] [V=<jdk>] [S=<arg> ...] [E=<var:val> ...]
        [D=<dir>] [C=<description>] [I=<file>] [O=<file>] [R=<file>]
        [G=<debug_option>] [K=0|1|false|true|no|yes]

Instructs Anetd to download one or more files specified by URLs to a principal's working directory (or a subdirectory thereof), and optionally start a network service. Note: As of version 1.6, Anetd will permit the use of file URLs (file:///) only if authorized by the TCL (see also section 3.2.2).

See section 3.8.1 for the meaning of the optional -.

Example 3.2
For initiating an ASP EE on some node, the command is
sc.solaris host LOAD J=http://bro.isi.edu/ASP/~asp/AspMain
T=15 S=-d0 S=-l7 O=output R=error C=ASP_EE
For loading an ASP EE as a permanent EE on some node:
sc.solaris host -LOAD J=http://bro.isi.edu/ASP/~asp/AspMain
T=15 S=-d0 S=-l7 O=output R=error C=ASP_EE

Because the X and A types specify native executables, Anetd automatically appends the extensions solaris, linux, and bsd44 to the URLs, depending on what platform Anetd is running on. For example, suppose that Anetd is running on a Linux machine; the URL http://abone-tcs.sdl.sri.com/executables/ps would actually fetch the file http://abone-tcs.sdl.sri.com/executables/ps.linux.


next up previous contents
Next: The RELOAD command Up: Control Commands Previous: Permanence   Contents
Steven Dawson 2001-08-30