docs.intersystems.com
Home  /  Application Development: Additional Options  /  InterSystems Programming Tools Index  /  Tools Index  /  Processes (Jobs)


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


Get information about and manipulate CPU processes (known as jobs in InterSystems IRIS).
Background Information
A CPU process is an instance of an InterSystems IRIS virtual machine running on an InterSystems IRIS 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 InterSystems IRIS Processes in the System Administration Guide.
Note:
Within productions, a CPU process is called a job, to avoid confusion with the term business processes, which are frequently referred to simply as processes.
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 InterSystems IRIS 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 instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().