Statistics Commands
Statistics commands are used for displaying Key Manager statistics objects.
list-statistics
Syntax:
ssh-mgr-client list-statistics [options] [-F <filter>] [-vvv] \
[-U <url>] [-o <format>] [-C <columns>] [-H] [-O <sort-order>] \
[-S <start-from>] [-M <max-results>] [-E <delim>] [-B]
This command lists the statistics objects, which are generated by internal-calculate-statistics jobs.
The default command lists all the statistics objects:
$ ssh-mgr-client list-statistics
The following columns can be used for filtering (-F) and output formatting (-C):
context
Raw statistics context. Only usable for output formatting (-C).
id
Numeric identifier of the daemon record
process_summary
Top 5 memory consuming PKM processes. Only usable for output formatting (-C).
timestamp
Creation timestamp of the statistics
Example for listing the top-5 memory-consuming processes from the latest statistics:
$ ssh-mgr-client list-statistics -C process_summary | tail -n1