Object ::nsmcp::runtime (public)

 ::nsmcp::ServerRuntime ::nsmcp::runtime[i]

Defined in /usr/local/ns/tcl/nsmcp/lib/stats-tools.tcl

Testcases:
No testcase defined.
Source code:
namespace eval ::nsmcp {}
::nsf::object::alloc ::nsmcp::ServerRuntime ::nsmcp::runtime {set :command ::ns_stats
   set :description {Read ns_stats runtime diagnostics for the authenticated server. mode snapshot (default) collects current gauges and cumulative counters; mode sample returns the latest published interval rates and CPU percentages. sampling reports readiness, age and running state. Process CPU, drivers, allocator and database-pool metrics remain process-wide. Timestamp is epoch microseconds; phase times are seconds; CPU percentages use one core as 100%. Does not start or change sampling.}
   set :inputSchema {{} object {type string object properties object {
        mode object {type string string enum array {0 string snapshot 1 string sample} default string snapshot}
    } additionalProperties boolean false}}
   set :name server_runtime
   set :outputSchema {}
   set :permission diagnostics.runtime.read}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: