Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.28 KB

redis-inventory_inventory.md

File metadata and controls

31 lines (22 loc) · 1.28 KB

redis-inventory inventory

Scan keys and display summary right away with selected output and output params

Synopsis

Scan command builds prefix tree in memory and then displays the usage summary. To avoid scanning redis instance when trying different output formats use index and display commands

redis-inventory inventory redis://[:<password>@]<host>:<port>[/<dbIndex>] [flags]

Options

  -h, --help                   help for inventory
  -l, --logLevel string        Level of logs to be displayed (default "info")
  -m, --maxChildren int        Maximum children node can have before start aggregating (default 10)
  -o, --output string          One of possible outputs: json, jsonp, table (default "table")
  -p, --output-params string   Parameters specific for output type
  -k, --pattern string         Glob pattern limiting the keys to be aggregated (default "*")
  -c, --scanCount int          Number of keys to be scanned in one iteration (argument of scan command) (default 1000)
  -s, --separators string      Symbols that logically separate levels of the key (default ":")
  -t, --throttle int           Throttle: number of nanoseconds to sleep between keys

SEE ALSO

Auto generated by spf13/cobra on 15-Sep-2021