| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 4
|
|
| Author |
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I looked through the FAQs and didn't see a section for this... I have a remote machine about 50 miles (80km) away that I usually visit only once or twice a month. It runs CentOS 6.3 and BOINC 6.10.something (whatever is in the elpo repo).
I have SSH setup, but I currently don't have enough bandwidth where I'm located to VNC into it (even the SSH connection is pretty jerky from here), so I've been learning/using boinccmd. Anyway, I SSH into the remote machine and run BOINCPWD=MyPwdForBOINC So then the command boinccmd --host $HOSTNAME --passwd $BOINCPWD --get_results gives output like
According to --help, the syntax for working with results is --result url result_name op job operation op = suspend | resume | abort | graphics_window | graphics_fullscreen But which 'result_name' is it talking about? because running boinccmd --host $HOSTNAME --passwd $BOINCPWD --result www.worldcommunitygrid.org cfsw_14666_14666108_0 abort and boinccmd --host $HOSTNAME --passwd $BOINCPWD --result www.worldcommunitygrid.org cfsw_14666_14666108 abort (using the 2 variations of 'name' shown in result #1 above) are both accepted without error, but as far as I can tell neither actually aborts the work unit... at least, nothing changes in the output from boinccmd --host $HOSTNAME --passwd $BOINCPWD --get_results So, what's the proper syntax to abort a work unit from the CLI? Thanks! |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
You looked through the FAQs... okay, item 1-E, "Command line tool operations". I'll add "with boinccmd" as keyword for those focused on the one word :D
----------------------------------------Edit: would not be surprised if you need to prefix with sudo under Linux. [Edit 1 times, last edit by Former Member at Sep 3, 2012 3:03:05 PM] |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
You looked through the FAQs... okay, item 1-E, "Command line tool operations". I'll add "with boinccmd" as keyword for those focused on the one word :D Edit: would not be surprised if you need to prefix with sudo under Linux. I guess formerly it was named boinc-cmd... not sure when the name changed. I'm SSH'd in as 'root' so I'm certain no sudo is requred. The FAQ (which links to the BOINC wiki) doesn't really answer my question, but carefully comparing # boinccmd --help with what is shown there does reveal a difference... do you see it? # boinccmd --help usage: boinccmd [--host hostname] [--passwd passwd] command |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
If executing under v7 with --task and a real result, yes with the suffix _0 or whatever [though did not want to abort one], I get a "Authorization failure: -155" error. The command:
boinccmd --host xxxxxxx --passwd yyyyyyy -- task http://www.worldcommunitygrid.org zzzzzzzzz Even when rooted in [which I never do, whilst using TeamViewer7], I'd still sudo... a matter of routine. This is the only format that does not respond with the help list of all the commands. I've also tried permutations such navigating to the data dir and then prefixing the path before boinccmd to where it is located. Same outcome. Alternate manuals: http://boincfaq.mundayweb.com/index.php?view=503 and http://linux.die.net/man/1/boinccmd . The official and volunteer documentation is [ltd comment], always subject to improvement [if maintained at all], often changed without version reference, when something was added, changed, made deprecated. In the latter linked manual don't see --passwd, but it still has --result. Spot the difference or errors... > report to developers. (Sorry, but other commitment to fulfill ATM). |
||
|
|
|