Documentation
Understand kbdiag, run your first check, and look up commands by problem.
Start here
- About kbdiag: who it serves, where it runs, and what it will not do.
- Capabilities: the question each command answers.
- First check: build, install, connect, and read exit codes.
- User manual: every command, flag and output field.
Start with status and sessions. If you already have a problem in front of you, pick a command from the capabilities page or follow a troubleshooting scenario.
Troubleshooting: lock waits and long-running SQL
Read-only command-line diagnostics for KingbaseES: a verdict, the evidence and the next step.
Choose a command by the question you need answered: instance, sessions, locks, transactions, waits, replication slots.
Build the binary, install it on the database host, connect, and read the verdict and exit code.
Move from a symptom to the evidence, then confirm the outcome.