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.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/apm/version-view.tcl packages/acs-admin/ www/apm/version-view.tcl apm_num_instances apm_num_instances packages/acs-admin/www/apm/version-view.tcl->apm_num_instances db_string db_string (public) apm_num_instances->db_string

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: