cnxcurrentconnections()

Returns the current number of connections to data servers (includes JDBC server).

 

Example:

SELECT cnxcurrentconnections()