| 4D v18Count tasks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 Count tasks 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Count tasks -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Longint |   | Number of open processes (including kernel processes) | |||||
Count tasks returns the highest alive process number in the 4D single-user, 4D remote, or 4D Server (stored procedures) version. Processes are numbered in the order in which they are created. When still no process has been aborted during the session, then this command returns the total number of open processes.
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.
See the example for Process state and for the Semaphore.
									Count user processes
									
									Count users
									
									PROCESS PROPERTIES
									
									Process state
									
	Product:  4D
	Theme:  Processes
	Number:  
        335
        
        
        
	
	Created:  < 4D v6
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v18)
	
	
	
	
	
 Add a comment
Add a comment