Class ::nsmcp::ServerRuntime
::nsmcp::ServerRuntime
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.tclClass Relations
- class: ::nx::Class
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- superclass: ::nsmcp::StatsTool
![[i]](/resources/acs-subsite/ZoomIn16.gif)
Methods (to be applied on instances)