man8/DMANsetprogpath_v2
Table of Contents
DMANsetprogpath_v2 - tell DMANserv_v2 the pathname of a shell escape
program.
DMANsetprogpath_v2 [dman_host] [which] [path]
This
program tells
DMANserv_v2(8)
the pathname of a shell escape program.
DMANserv_v2(8)
provides several places where it may execute an external program.
Parsing
of the arguments is simple minded.
The arguments marked required must be
supplied.
Arguments marked optional are not required. However, if an optional
argument is used the arguments preceeding it on the command line must be
supplied (even if they are marked optional).
- dman_host - required
the host where DMANserv_v2(8)
is running
- which - required
Choices are setup, endrun, endlist, park, or error.
- path - optional
The pathname of the executable. The pathname must either be the absolute
pathname of the executable or just the name of the executable may be given
if DMANsetprogpath_v2 is executed in the directory containing the shell
escape program.
If the argument is missing the pathname is cleared in DMANserv(8)
.
The name "shell escape program" comes from the idea
that most of the time these programs are shell scripts. However, they may
be any executable program.
When the program is started it is given several
arguments. These arguments are: the pathname of the batch directory (i.e.
the base directory being used for collecting the AMS data), the current
item number, and the current measurement number.
#
# tell DMANserv to execute the program
# run_it at the end of the runlist
#
DMANsetprogpath_v2 localhost endlist run_it
This program is deprecated.
Use DMANcontrol_v2(8)
instead.
$Id: DMANsetprogpath_v2.8,v
2.3 2007/08/06 12:38:22 kitchen Exp $
Table of Contents