::nsmcp::ServerRuntime ::nsmcp::ServerRuntime ::nsmcp::StatsTool ::nsmcp::StatsTool ::nsmcp::ServerRuntime->::nsmcp::StatsTool ::nsmcp::ServerTopology ::nsmcp::ServerTopology ::nsmcp::ServerTopology->::nsmcp::StatsTool ::nsmcp::ServerHistory ::nsmcp::ServerHistory ::nsmcp::ServerHistory->::nsmcp::StatsTool ::nsmcp::Tool ::nsmcp::Tool ::nsmcp::StatsTool->::nsmcp::Tool

Class ::nsmcp::ServerRuntime

::nsmcp::ServerRuntime[i] create ... \
           [ -command (default "::ns_stats") ] \
           [ -description (default "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.") ] \
           [ -inputSchema (default "{} 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}") ] \
           [ -name (default "server_runtime") ] \
           [ -outputSchema (default "") ] \
           [ -permission (default "diagnostics.runtime.read") ]

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

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsmcp::StatsTool[i]
::nx::Class create ::nsmcp::ServerRuntime \
     -superclass ::nsmcp::StatsTool