Count tasks

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, 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 single-user 4th Dimension.

This number takes into account all processes, even those that are automatically managed by 4th Dimension. These include the User/Custom Menus 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   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next