Count user processes

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 11.3 (Modified)


Count user processes Integer

ParameterTypeDescription
This command does not require any parameters
Function resultIntegerNumber of live processes
(excluding internal processes)

Description

Count user processes returns the current number of "live" processes in the 4D application whose type is different from -25 (Internal Timer Process), -31 (Client Manager Process) and -15 (Server Interface Process). For more information about process types, please refer to the PROCESS PROPERTIES command and to the Process Type constants theme.

The Count user processes function returns the number of processes opened directly or indirectly by the user (processes for which the origin parameter returned by the PROCESS PROPERTIES command is greater than or equal to 0).

Note: The "live" processes are processes whose status is neither aborted, nor does not exist (see the Process state command).

See Also

Count tasks, Count users.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next