The system initializes a number of processes on startup. These processes are specified by
The current process is specified by
. A list of all the current processes is returned by
. The function
is analogous to the UNIX command
, and returns a list of the processes in the system, ordered by priority.
To find a process when you know its name, use
. To find the name, when you have the process, use
. The variable
specifies the variables that are initially bound in a process.
When a process has stopped, you can find a list of reasons why by calling
. To obtain a list of the reasons why a process is running, call
. Both these lists can be changed using
, though it is not normally necessary to add arrest reasons.