top

package
v0.0.0-...-28a77dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:                   "top",
	Usage:                  "Shows resources usage.",
	Category:               "Beginner",
	UseShortOptionHandling: true,
	Subcommands: []cli.Command{
		node.Command,
		{
			Name:                   "index",
			Aliases:                []string{"indices", "indexes"},
			Usage:                  "Shows high-level information about the resource consumption of indices.",
			Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-indices.html",
			ArgsUsage:              "[indices...] [-a]",
			Action:                 ctl.NewAction(indices),
			UseShortOptionHandling: true,
			Flags: []cli.Flag{
				cli.BoolFlag{
					Name:  "all, a",
					Usage: "Show all indices",
				},
			},
		},
		{
			Name:                   "cluster",
			Usage:                  "Shows high-level information about a cluster.",
			Description:            "For more information: https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html",
			Action:                 ctl.NewAction(cluster),
			UseShortOptionHandling: true,
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL