4D v14.3

Count user processes

Home

 
4D v14.3
Count user processes

Count user processes 


 

Count user processes -> Function result 
Parameter Type   Description
Function result  Longint in Number of live processes (excluding internal processes)

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).

 
PROPERTIES 

Product: 4D
Theme: Processes
Number: 343

 
HISTORY 

Modified: 4D v11 SQL Release 3

 
SEE ALSO 

Count tasks
Count users

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)