InterSystems Programming Tools Index
Processes (Jobs)
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Get information about and manipulate CPU processes (known as jobs in Ensemble).
Background Information
A CPU process is an instance of a Caché virtual machine running on a Caché server. Every active process has a unique job number. You typically use the Management Portal to view the process list and, if necessary, suspend, resume, or terminate them; see Controlling Caché Processes in the Caché System Administration Guide.
Note:
In Ensemble, a CPU process is called a job, to avoid confusion with the term business processes, which are frequently referred to simply as processes. This usage is reflected in the Ensemble parts of the Management Portal, as well as in the Ensemble books.
Available Tools
^$JOB
This structured system variable returns information about processes.
Availability: All namespaces.
%SYSTEM.Process class
Allows manipulation and display of the current process. This class provides class methods like the following:
Some of the class methods have restrictions on where they may be called.
Availability: All namespaces.
%SYSTEM.SYS class
Provides the following class methods:
Availability: All namespaces.
%SYSTEM.Util class
Provides the following class methods:
Availability: All namespaces.
%SYS.ProcessQuery class
Enables you to display and manipulate Caché processes. This class provides properties that you can set to modify a process, as well as read-only properties that provide information about its current state. Properties of this class include:
It also provides the following class methods:
It also provides queries, which include:
Availability: All namespaces.
SYS.Process class
Provides instance methods which operate on a process instance as well as class methods for use by managers. This class provides the following methods:
This class extends %SYS.ProcessQuery and thus also includes the properties, methods, and queries of that class.
Availability: %SYS namespace.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().