Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ batch(1MDQS) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

qstat(1mdqs)

qmod(1mdqs)

getdate(5mdqs)

mdqsd(8mdqs)

rsh(1n)



BATCH(1MDQS)            COMMAND REFERENCE            BATCH(1MDQS)



NAME
     batch - MDQS batch command spooler

SYNOPSIS
     batch [ -a atime ] [ -m ] [ -o outfile ] [ -p priority ] [
     -q queue ] [ -s shell ] [ -u useraddr ] [ -v ] [ -R ruser ]
     [ commandfile ]

DESCRIPTION
     Batch is used to queue command files to be run by the
     Multi-Device Queueing System (MDQS).  The command files are
     basically shellfiles.  They can contain a single command or
     a series of commands.  If the commandfile argument is
     omitted, the commands are read from the standard input.  The
     batch command tries to record the environment that the user
     was in when the batch command was invoked, including
     exported shell variables and the current working directory.

     Batch is part of the MDQS.  Once the request has been
     queued, it can be modified or deleted using the qmod
     program, and the current status determined using the qstat
     program.

OPTIONS
     -a atime
          Do not start this request until after atime.  For the
          format of time specifications, see getdate(5mdqs).

     -m   Cause a message to be generated upon the completion of
          the batch request and sent via mail(1mh) to the
          requesting user.

     -o outfile
          Causes the standard output and error output
          (filedescriptors 1 and 2) of the batch job to be
          redirected to the named file.

     -p priority
          Allows one to give a request a priority other than the
          default.  The default priority is in the middle of the
          range 0-10.  Only the superuser, the mdqs user or a
          member of the systems groups may request a priority of
          0.

     -q queue
          Allows one to queue a request to a queue other than the
          default.  Queueing a request to other than a batch
          queue will give unpredictable results.

     -R ruser
          When a batch request is to execute on a remote host
          MDQS normally requires the requesting local user name



Printed 10/17/86                                                1





BATCH(1MDQS)            COMMAND REFERENCE            BATCH(1MDQS)



          to exist on the remote host with rsh(1n) privileges.
          This option allows one to specify another user on the
          remote host for rsh(1n) privileges.

     -s shell
          Causes the program shell to be used as the shell to
          interpret the command file instead of the default.
          When the commands are read from standard input the
          default shell is the one specified by the environmental
          variable SHELL, if it is available.  Otherwise the
          default shell is (/bin/sh).

     -u useraddr
          Overrides the default notification address with the
          address useraddr. This address should be a valid
          address to your mailsystem.  The default notification
          address is the name of the invoker on the current host.

     -v   Normally the batch command does its work silently.  The
          v (verbose) option makes batch acknowledge that the
          request has been queued and prints the request number.

FILES
     /usr/lib/mdqs/queue2     Second stage queuer

     /etc/mdqsd               MDQS daemon

     /usr/spool/q             Top of spooling directory tree

     /usr/lib/mdqs/shserver   Program called by the daemon to run
                              shell

     /etc/qconf               Configuration information for MDQS

VARIABLES
     SHELL          The user's login shell.

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.



Printed 10/17/86                                                2





BATCH(1MDQS)            COMMAND REFERENCE            BATCH(1MDQS)



     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

SEE ALSO
     qstat(1mdqs), qmod(1mdqs), getdate(5mdqs), mdqsd(8mdqs),
     rsh(1n).
















































Printed 10/17/86                                                3





































































%%index%%
na:72,70;
sy:142,454;
de:596,913;
op:1509,1310;2963,1129;
fi:4092,479;
va:4571,109;
rv:4680,618;5442,173;
se:5615,264;
%%index%%000000000152

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