- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::nsmcp::ServerTopology
::nsmcp::ServerTopologycreate ... \
[ -adminExample (default "") ] \
[ -adminSummary (default "") ] \
[ -command (default "::ns_stats") ] \
[ -description (default "Report the versions running on this site and describe NaviServer topology via ns_stats. Use for questions about installed runtime versions, loaded modules, build information, or the current installation before an upgrade. Returns NaviServer version, compiler and Tcl build information, OS/version/architecture, loaded module metadata including versions and build tags when reported, and driver library versions when available. Treat unreported versions as unknown. Also reports connection-pool limits, database-pool configuration and network bindings. Virtual-server modules, pools and bindings are restricted to the authenticated server; process information and network drivers are process-wide. Does not start sampling. Reports available=false on installations without ns_stats.") ] \
[ -inputSchema (default " { "type": "object", "properties": {}, "additionalProperties": false } ") ] \
[ -name (default "server_topology") ] \
[ -outputSchema (default "") ] \
[ -permission (default "diagnostics.runtime.read") ]
Defined in /usr/local/ns/tcl/nsmcp/stats-tools.tcl
Class Relations
Methods (to be applied on instances)
execute (scripted, public)
<instance of nsmcp::ServerTopology> execute context arguments
Read the selected server's runtime topology. Use the configured runtime command and return an unavailable result when the capability is absent.
- Parameters:
- context (required)
- Authenticated request context carrying the principal, grants and selected server.
- arguments (required)
- Rooted ns_json typed triples for the tool's JSON argument object.
- Returns:
- A rooted JSON tool-result object, including availability or job metadata as appropriate.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)