Closed ffromani closed 3 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fromanirh
The full list of commands accepted by this bot can be found here.
The pull request process is described here
how do we get the list of all the available commands ? only via CLI ? or are we going to expose some sort of documentation for that as well ?
how do we get the list of all the available commands ? only via CLI ? or are we going to expose some sort of documentation for that as well ?
Yep, via CLI. The idea is to keep the CLI as living documentation
$ ./_output/knit help
knit allows to check system settings for low-latency workload
Usage:
knit [flags]
knit [command]
Available Commands:
cpuaff show cpu thread affinities
help Help about any command
irqaff show IRQ/softirq thread affinities
irqwatch watch IRQ counters
lscpu show the system CPU details
lspci show the system PCI details
lstopo show the system topology
machineinfo show cadvisor's machine info
podres show currently allocated pod resources
wait wait forever, or until a UNIX signal (SIGINT, SIGTERM) arrives
Flags:
-C, --cpulist string isolated cpu set to check (see man (7) cpuset - List format (default "0-16383")
-D, --debug enable debug log
-h, --help help for knit
-J, --json output as JSON
-P, --procfs string procfs root (default "/proc")
-S, --sysfs string sysfs root (default "/sys")
Use "knit [command] --help" for more information about a command.
It's very useful to get the same picture as the kubelet will.
Signed-off-by: Francesco Romani fromani@redhat.com