From 85fe9fbf26baaca868fc5de2cdbdf33cbef382e7 Mon Sep 17 00:00:00 2001 From: agentzh Date: Mon, 20 Apr 2009 17:53:47 +0800 Subject: [PATCH] docs updates for atnodes --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 7e64d16..0063890 100644 --- a/README +++ b/README @@ -35,14 +35,14 @@ The following scripts are provided: # specify a different user name and SSH server port: $ atnodes hostname '{ps}' -u agentz -p 12345 - # if w/o SSH key + # use -w to prompt for password if w/o SSH key (no echo back) $ atnodes hostname '{ps}' -u agentz -w # or sudo required... - $ atnodes 'apachectl restart' '{ps}' -u agentz -w + $ atnodes 'sudo apachectl restart' '{ps}' -w # or specify a timeout: - $ atnodes 'apachectl restart' '{ps}' -t 3 + $ atnodes 'ping foo.com' '{ps}' -t 3 * tonodes (TODO)