Anaconda Enterprise: Documentation

# Running remote commands

To execute remote commands on a cluster, run:

    $ adam cmd -n [cluster-name] -t [target-nodes] [command]

EXAMPLE: To run the `date` command on all nodes in a cluster named “cluster”:

    $ adam cmd -n cluster date
    192.168.1.1: Wed Jun 29 03:08:10 UTC 2016
    192.168.1.2: Wed Jun 29 03:08:10 UTC 2016
    192.168.1.3: Wed Jun 29 03:08:10 UTC 2016
    192.168.1.4: Wed Jun 29 03:08:10 UTC 2016