Count tasks

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 3


Count tasks Integer

ParameterTypeDescription
This command does not require any parameters
Function resultIntegerNumber of open processes
(including kernel processes)

Description

Count tasks returns the number of processes open in 4D Client, 4D Server (stored procedures) or in 4D Developer.

This number takes into account all processes, even those that are automatically managed by 4D. These include the Main process, Design process, Cache Manager process, Indexing process, and Web Server process.

The number returned by Count tasks also takes into account processes that have been aborted.

Example

See the example for Process state and On Exit Database Method.

See Also

Count user processes, Count users, PROCESS PROPERTIES, Process state.


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