diff --git a/core/commands/swarm.go b/core/commands/swarm.go index 84e78d4d8e9..d06f74579b1 100644 --- a/core/commands/swarm.go +++ b/core/commands/swarm.go @@ -337,12 +337,15 @@ The scope can be one of the following: - all -- reports the resource usage for all currently active scopes. The output of this command is JSON. + +To see all resources that are close to hitting their respective limit, one can do something like: + ipfs swarm stats --min-used-limit-perc=90 all `}, Arguments: []cmds.Argument{ cmds.StringArg("scope", true, false, "scope of the stat report"), }, Options: []cmds.Option{ - cmds.IntOption(swarmUsedResourcesPercentageName, "Display only resources that are using above the specified percentage"), + cmds.IntOption(swarmUsedResourcesPercentageName, "Only display resources that are using above the specified percentage of their respective limit"), }, Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error { node, err := cmdenv.GetNode(env)