HP 3000 Manuals

LIMIT [ MPE/iX Commands Reference Manual Volume I ] MPE/iX 5.0 Documentation


MPE/iX Commands Reference Manual Volume I

LIMIT 

Limits the number of concurrently running jobs/sessions.  (Native Mode)

Syntax 

      [{numberjobs               }]
LIMIT [{,numbersessions          }]
      [{numberjobs,numbersessions}]
Parameters 

numberjobs            The number of jobs.

number- sessions      The number of sessions.

<omitted>             If you specify no parameter, a message is displayed
                      listing the current limits.

Operation Notes 

Maximum job and session limits are established by the system supervisor
during system configuration.  Within these limits, the operator may
redefine the job and session limit with the LIMIT command.  When the
system is restarted from disk in a START RECOVERY, the operator defined
limits are retained.  When any other startup option is used, the values
configured by the supervisor take effect.

If you enter one parameter and omit the other, the limit of the omitted
parameter remains unchanged.

No new jobs or sessions are dispatched that would cause either of these
limits to be exceeded, unless they are initiated with the HIPRI parameter
of the JOB or HELLO commands.

Non-HIPRI jobs can still be introduced when the limit is achieved, but
they do not execute.

If you attempt to log on to a non-HIPRI session after the limit has been
reached, you receive the message:

     CAN'T INITIATE NEW SESSIONS NOW

The specified limits may be exceeded at the time the command is issued.
This does not cause jobs or sessions executing at the time to abort.
They continue to execute, but no new jobs are allowed to enter the
executing state, and no new sessions are initiated.

Use 

This command may be issued from a session, job, program, or in BREAK.
Pressing Break has no effect on this command.  It may be issued only from
the console unless distributed to users with the ALLOW command.

Examples 

To limit the number of jobs to 2 and the number of sessions to 15, enter:

     LIMIT 2,15 

     SHOWJOB 

     JOBNUM  STATE IPRI JIN  JLIST  INTRODUCED  JOB NAME

     #S24    EXEC        20  20     TUE  1:54A  OPERATOR.SYS
     #S26    EXEC       177  177    TUE  5:01A  CHEWY,RSPOOL.S
     #S96    EXEC QUIET  35  35     TUE  8:31A  SLIDES.SIMON

     3 JOBS:
         0 INTRO
         0 WAIT; INCL 0 DEFERRED
         3 EXEC; INCL 3 SESSIONS
         0 SUSP
     JOBFENCE= 6; JLIMIT= 2; SLIMIT= 15

To limit the number of sessions to 13, but retain the current job limit,
enter:

     LIMIT,13 

Related Information 

Commands      HELLO, JOB

Manuals       Performing System Operation Tasks (32650-90137)



MPE/iX 5.0 Documentation