next up previous contents
Next: The QUERY command Up: Control Commands Previous: The LOAD/-LOAD command   Contents

The RELOAD command

RELOAD anep <anep_id> | desc <description> | pid <pid>

Instructs Anetd to shutdown and restart a currently executing EE. The EE to be restarted can be specified by its ANEP type ID, its description (as specified by the 'C' option in the LOAD command), or its process ID (as reported by the QUERY command). An EE can be restarted only by its owner (the principal who originally issued the LOAD command) or by a privileged user. Regardless of who issues the RELOAD command, the EE is restarted as if the command had been issued by its owner. This ensures that the original owner will retain control over the EE after it is restarted.

Note that RELOAD can be used only on a running EE (one for which the QUERY command returns information). It cannot be used to restart a permanent EE that has terminated. To restart a permanent EE that has terminated, either Anetd must be restarted or the original LOAD command (without the leading '-') for that EE must be reissued.

Example 3.3
The following command could be used to restart the EE from Example 3.2 (assuming it is currently running):
sc RELOAD anep 15
Alternatively, the following command could be used:
sc RELOAD desc ASP_EE


next up previous contents
Next: The QUERY command Up: Control Commands Previous: The LOAD/-LOAD command   Contents
Steven Dawson 2001-08-30