server: instance summary, parameters and license
Inspect full KES version/mode, changed and pending_restart parameters, and license expiry, MAC, and max connections.
Covers instance summary (server), non-default / pending_restart settings (server params), and license validity/binding (server license). Read-only: never modifies parameters, reloads configs, or restarts the instance.
Usage
Subcommands & Options
| Command / Option | Effect |
|---|---|
server | Instance identity, connections summary, license summary, and non-default parameter preview |
server params | Full non-default and pending_restart parameter list with source files and line numbers |
server license | License expiry countdown, path, bound MAC, and license connection limit |
--json | Emit structured JSON (inst.identity, inst.info, params.changed, license.info) |
Verdict & Reading Output
FAIL(exit=2):license.expired(instance keeps running, next restart fails; check primary and standby separately) orinst.connections(ordinary-user connection headroom exhausted onkbdiag server).WARN(exit=1):license.expiring(within 30 days) orparams.pending_restart(changed parameter waiting for restart; suggested rollback SQL is printed safely for manual review).UNKNOWN(exit=3): Probe failure or missingsys_read_all_settings/ superuser privilege (even when visible file-backed rows are empty).- Privacy note:
license.datpath andmacprint verbatim (not redacted); scrub before external sharing.
Examples (KES V9 Primary, excerpt, COLUMNS=80)
Related Commands
kbdiag check— run nine-domain patrol including connections and licensekbdiag session— inspect active backends againstmax_connectionskbdiag status— check instance uptime, primary/standby role, and hosts