Parallel Works

pw workers ls

pw workers ls

List your compute workers

Synopsis

The pw workers ls command lists your compute workers across all clusters.

Use --cluster to list only the workers on one cluster. The cluster can be given as pw://user/cluster, pw://cluster or cluster, where an omitted user defaults to your username.

pw workers ls [flags]

Examples

  pw workers ls
  
  # List only connected workers
  pw workers ls --status connected
  
  # List the workers on one cluster
  pw workers ls --cluster my-hpc
  
  # List as JSON
  pw workers ls -o json

Options

      --cluster string   Filter by cluster
  -h, --help             help for ls
      --limit int        Maximum number of workers to return (default 100, max 500)
  -o, --output string    Output format (table, json, list) (default "table")
      --skip int         Number of workers to skip for pagination
      --status string    Filter by status (pending, queued, starting, connected, stopping, stopped, error)

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging

SEE ALSO