1
<?xml version="1.0" encoding="UTF-8"?>
4
This is the manual page for boinccmd, a command tool that provides an
5
interactive command-line interface for the core client.
7
Copyright © 2007-2008 University of California
9
Permission is granted to copy, distribute and/or modify this document
10
under the terms of the GNU Free Documentation License, Version 1.2 or
11
any later version published by the Free Software Foundation; with no
12
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
15
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
16
"file:///usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
18
<!ENTITY % COMMON SYSTEM "common.ent">
21
<!ENTITY date "<date>11 January 2008</date>">
28
<firstname>Frank</firstname>
29
<lastname>Thomas</lastname>
30
<email>frank@thomas-alfeld.de</email>
34
<firstname>Peter</firstname>
35
<lastname>Bailis</lastname>
36
<email>pbailis@gmail.com</email>
42
<holder>University of California</holder>
48
<refentrytitle>&boinccmd;</refentrytitle>
49
<manvolnum>1</manvolnum>
53
<refname>&boinccmd;</refname>
54
<refpurpose>command line interface to the BOINC core client</refpurpose>
61
<arg><option>--host</option> <replaceable>hostname</replaceable><arg
62
>:<replaceable>port</replaceable></arg></arg>
63
<arg><option>--passwd</option> <replaceable>passwd</replaceable></arg>
64
<arg choice="req"><replaceable>command</replaceable></arg>
68
<arg><option>-hV</option></arg>
71
<para>Notice that the order of the options is important. The <option
72
>--host</option> and <option>--passwd</option> options must precede any
77
<title>DESCRIPTION</title>
78
<para>The BOINC command tool (&cmd_boinccmd;) provides a command line
79
interface to a running BOINC core client (&man_boinc;).</para>
83
<title>OPTIONS</title>
89
<option>--host</option> <replaceable>hostname</replaceable><optional
90
>:<replaceable>port</replaceable></optional>
93
<para>Connect to the host <replaceable>hostname</replaceable>.
94
The default host is localhost.</para>
100
<option>--passwd</option> <replaceable>passwd</replaceable>
103
<para>Use <replaceable>passwd</replaceable> as password for RPC
104
authentication. If the current working directory contains a file
105
<filename>gui_rpc_auth.cfg</filename>, &cmd_boinccmd; will read
106
the password from this file.</para>
111
<term><option>-h</option>, <option>--help</option></term>
113
<para>Show a help message and all commands.</para>
118
<term><option>-V</option>, <option>--version</option></term>
120
<para>Show the version of the program.</para>
127
<title>COMMANDS</title>
130
<title>Account query and attach</title>
135
<option>--lookup_account</option>
136
<replaceable>URL</replaceable>
137
<replaceable>email</replaceable>
138
<replaceable>passwd</replaceable>
141
<para>Look up account and print account key.</para>
147
<option>--create_account</option>
148
<replaceable>URL</replaceable>
149
<replaceable>email</replaceable>
150
<replaceable>passwd</replaceable>
151
<replaceable>name</replaceable>
154
<para>Create account with the given email address, password, and
161
<option>--project_attach</option>
162
<replaceable>URL</replaceable>
163
<replaceable>account_key</replaceable>
166
<para>Attach to an account.</para>
172
<option>--join_acct_mgr</option>
173
<replaceable>URL</replaceable>
174
<replaceable>name</replaceable>
175
<replaceable>passwd</replaceable>
178
<para>Attach to an account manager (or do RPC if already
184
<term><option>--quit_acct_mgr</option></term>
186
<para>Detach from the current account manager.</para>
193
<title>State queries</title>
197
<term><option>--get_state</option></term>
199
<para>Show complete client state.</para>
204
<term><option>--get_results</option></term>
206
<para>Show all results.</para>
211
<term><option>--get_simple_gui_info</option></term>
213
<para>Show status of projects and active results.</para>
218
<term><option>--get_file_transfers</option></term>
220
<para>Show all current file transfers.</para>
225
<term><option>--get_project_status</option></term>
227
<para>Show status of all projects.</para>
232
<term><option>--get_disk_usage</option></term>
234
<para>Show disk usage of all projects.</para>
239
<term><option>--get_proxy_settings</option></term>
241
<para>Get proxy settings.</para>
247
<option>--get_messages</option> <replaceable>seqno</replaceable>
250
<para>Show messages with sequence numbers beyond
251
<replaceable>seqno</replaceable>.</para>
256
<term><option>--get_host_info</option></term>
258
<para>Show system information about the host where the BOINC
259
client is running.</para>
266
<title>Control operations</title>
271
<option>--result</option>
272
<replaceable>URL</replaceable>
273
<replaceable>result_name</replaceable>
274
{suspend | resume | abort | graphics_window | graphics_fullscreen}
275
<optional>--desktop <replaceable>dt</replaceable> |
276
--window_station <replaceable>ws</replaceable> |
277
--display <replaceable>dp</replaceable></optional>
280
<para>Do operation on a result.</para>
284
<term><option>suspend</option></term>
286
<para>Temporarily stop work on result.</para>
291
<term><option>resume</option></term>
293
<para>Allow work on result.</para>
298
<term><option>abort</option></term>
300
<para>Permanently stop work on result.</para>
305
<term><option>graphics_window</option></term>
307
<para>Open graphics in a window. The optional desktop /
308
window_station (Windows) or display (X11) arguments
309
specify the display.</para>
314
<term><option>graphics_fullscreen</option></term>
316
<para>Open graphics fullscreen.</para>
325
<option>--project</option>
326
<replaceable>URL</replaceable>
327
{reset | detach | update | suspend | resume | nomorework
328
| allowmorework | detach_when_done}
331
<para>Do operation on a project, identified by its master
336
<term><option>reset</option></term>
338
<para>Delete current work and get more.</para>
343
<term><option>detach</option></term>
345
<para>Delete current work and don't get more.</para>
350
<term><option>update</option></term>
352
<para>Contact scheduling server.</para>
357
<term><option>suspend</option></term>
359
<para>Stop work for project.</para>
364
<term><option>resume</option></term>
366
<para>Resume work for project.</para>
371
<term><option>nomorework</option></term>
373
<para>Finish current work but don't get more.</para>
378
<term><option>allowmorework</option></term>
380
<para>Undo <option>nomorework</option>.</para>
385
<term><option>detach_when_done</option></term>
387
<para>Detach project.</para>
396
<option>--file_transfer</option>
397
<replaceable>URL</replaceable>
398
<replaceable>filename</replaceable>
402
<para>Do operation on a file transfer.</para>
408
<option>--set_run_mode</option>
409
{always | auto | never}
410
<optional><replaceable>duration</replaceable></optional>
413
<para>Set run mode.</para>
417
<term><option>always</option></term>
419
<para>Do CPU work always.</para>
424
<term><option>auto</option></term>
426
<para>Do work only when allowed by preferences.</para>
431
<term><option>never</option></term>
433
<para>Don't do work.</para>
437
<para>If <replaceable>duration</replaceable> is zero or absent,
438
this mode is permanent. Otherwise, after <replaceable
439
>duration</replaceable> seconds elapse, revert to last
440
permanent mode.</para>
446
<option>--set_network_mode</option>
447
{always | auto | never}
448
<optional><replaceable>duration</replaceable></optional>
451
<para>Set network mode. Like <option>--set_run_mode</option> but
452
applies to network transfers only.</para>
458
<option>--set_proxy_settings</option>
459
<replaceable>http_server_name</replaceable>
460
<replaceable>http_server_port</replaceable>
461
<replaceable>http_user_name</replaceable>
462
<replaceable>http_user_passwd</replaceable>
463
<replaceable>socks_server_name</replaceable>
464
<replaceable>socks_server_port</replaceable>
465
<replaceable>socks_version</replaceable>
466
<replaceable>socks5_user_name</replaceable>
467
<replaceable>socks5_user_passwd</replaceable>
470
<para>Set proxy settings. All fields are mandantory.</para>
475
<term><option>--run_benchmarks</option></term>
477
<para>Run CPU benchmarks.</para>
483
<option>--set_screensaver_mode</option> {on | off}
484
<replaceable>blank_time</replaceable>
485
<optional>--desktop dt | --window_station ws |
486
--display dp</optional>
489
<para>Tell the core client to start or stop doing fullscreen
490
graphics, and going to black after
491
<replaceable>blank_time</replaceable> seconds. The optional
492
arguments specify which desktop / windows_station (Windows)
493
or display (X11) to use.</para>
498
<term><option>--read_global_prefs_override</option></term>
500
<para>Tell the core client to read the <filename
501
>global_prefs_override.xml</filename> file and
502
incorporate any global preferences indicated there.</para>
507
<term><option>--quit</option></term>
509
<para>Tell the core client to quit.</para>
514
<term><option>--read_cc_config</option></term>
516
<para>Reread the configuration file
517
(<filename>cc_config.xml</filename>).</para>
523
<option>--set_debts</option>
524
<replaceable>URL1</replaceable>
525
<replaceable>STD1</replaceable>
526
<replaceable>LTD1</replaceable>
527
<optional><replaceable>URL2</replaceable>
528
<replaceable>STD2</replaceable>
529
<replaceable>LTD2</replaceable>
533
<para>Set the short- and long-term debts of one or more projects.
534
Note, if you adjust the debts of a single project, the debts of
535
other projects are changed. So if you want to set the debts of
536
multiple projects, do it in a single command.</para>
542
<option>--get_project_config</option>
543
<replaceable>URL</replaceable>
546
<para>Fetch configuration at project located at
547
<replaceable>URL</replaceable>.</para>
552
<term><option>--get_project_config_poll</option></term>
556
<term><option>--network_available</option></term>
560
<term><option>--get_cc_status</option></term>
567
<title>SEE ALSO</title>
568
<para>&man_boinc;, &man_boincmgr;</para>
569
<para><ulink url="http://boinc.berkeley.edu/trac/wiki/BoincCmd"/></para>
573
<title>COPYRIGHT</title>
574
<para>Copyright © 2007-2008 University of California.</para>
575
<para>Permission is granted to copy, distribute and/or modify this
576
document under the terms of the &gnu; Free Documentation License,
577
Version 1.2 or any later version published by the Free Software
578
Foundation; with no Invariant Sections, no Front-Cover Texts, and no
579
Back-Cover Texts.</para>