apm_num_instances (public)

 apm_num_instances package_key

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Parameters:
package_key (required)
Returns:
The number of instances of the indicated package.

Testcases:
No testcase defined.
Source code:
    return [db_string query {
        select count(*) from apm_packages
        where package_key = :package_key
    }]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: