The special name /b/proc/me maps to the box for the process that evaluates the name—beware of this when using the shell. To access the shell's own box from the command line use the shell variable $me.
New processes can be created by using make(2) and existing ones can be killed by using delete(2).
Each
process box has inner boxes representing process resources. Although kernel processes have their boxes listed in /b/proc, they don't have all the inner boxes that are customary for user processes.
name is the box containing the name of the process box. This is useful to obtain the real box name for so that a process could obtain a name that is portable to others.
args is the box containing the arguments of the process; i.e. its command-line.
stat contains a string with the process status. Newly created processes are said to be born, while ready/running processes are said to be alive. Other states are dead, for faulting processes, paused, for stopped processes, and debugged, for traced processes.
regs contains the set of register values for the process. The format is a set two-digit string (dec) with the size of the machine word followed by a two-digit string (dec) with the number of registers and by either 8 or 16 digit strings (hexa) with the register values. A copy to regs supplying values for the first and
Besides the ones listed above, user processes also have these inner boxes:
prog is used to contain the program executed by the process. A newly created process starts in born state and does not run until a binary box is either linked or copied to its prog box (or until the program is supplied by linking the whole address space). Only programs within the same node can be linked.
events is used to post events related to the process as well as to control event handling. A process can write to its own event box the strings die to die after any event post, catch to cause event posts to raise an error instead, and ignore to cause event posts to be ignored. Events are posted by copying a string
If a box is noted to be removed when the process dies, and an error forbids the removal during process deletetion, the box may survive the process.
The conventions for I/O boxes are undergoing severe changes.