Class ::nsmcp::ServerTopology (public)

 ::nx::Class ::nsmcp::ServerTopology[i]

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

Testcases:
No testcase defined.
Source code:
    :property {name server_topology}
    :property {description {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.}}

    :public method execute {context arguments} {
        if {![:available]} {
            return [:unavailable $context]
        }
        set data [${:command} describe -server [$context server]]
        return [list {} object [list server string [$context server] available boolean true  topology object [:encode topology $data]]]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: