haishi 发表于 2018-8-19 12:27:35

mcollective插件(shell plugins)功能在Linux系统上无所不能

# mco shell --help  
MCollective Distributed Shell
  
Usage:   mco shell
  The CMD is a string
  EXAMPLES:
  mco shell uptime
  --np, --no-progress          Do not show the progress bar
  -1, --one                        Send request to only one discovered nodes

  --batch>  --batch-sleep SECONDS      Sleep time between batches
  --limit-seed NUMBER          Seed value for deterministic random batching
  --limit-nodes, --ln, --limit COUNT
  Send request to only a subset of nodes, can be a percentage
  -j, --json                     Produce JSON output
  --display MODE               Influence how results are displayed. One of ok, all or failed
  -c, --config FILE                Load configuratuion from file rather than default
  -v, --verbose                  Be verbose
  -h, --help                     Display this screen
  
Common Options
  -T, --target COLLECTIVE          Target messages to a specific sub collective
  --dt, --discovery-timeout SECONDS
  Timeout for doing discovery
  -t, --timeout SECONDS            Timeout for calling remote agents
  -q, --quiet                      Do not be verbose
  --ttl TTL                  Set the message validity period
  --reply-to TARGET            Set a custom target for replies
  --dm, --disc-method METHOD   Which discovery method to use
  --do, --disc-option OPTION   Options to pass to the discovery method
  --nodes FILE               List of nodes to address
  
Host Filters

  -W, --with FILTER                Combined>
  -S, --select FILTER            Compound filter combining facts and>  -F, --wf, --with-fact fact=val   Match hosts with a certain fact

  -C, --wc, --with-class>  -A, --wa, --with-agent AGENT   Match hosts with a certain agent

  -I, --wi, --with-identity>  
The Marionette Collective 2.2.4


页: [1]
查看完整版本: mcollective插件(shell plugins)功能在Linux系统上无所不能