version 3
Count tasks Integer
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Integer | Number 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.