HPlogo MPE/iX Commands Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4  Command Definition F-K

LIMIT

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Syntax

LIMIT[ { [+ | - ] numberjobs [+ | - ] ,numbersessions | numberjobs,numbersessions ]      [;JOBQ=queuename]

Parameters

+

Increment the limit value

-

Decrement the limit value

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.

queuename

The name of the job queue whose limit is being changed or displayed.

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.

Jobs that belong to individual job queues cannot begin execution while the specific job queue limit is exceeded. Even if a specific job queue limit is not exceeded, the global system job limit must also not be exceeded in order for the job to begin execution.

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, SHOWJOB, LISTJOBQ

Manuals

Performing System Operation Tasks

Feedback to webmaster