<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://boinc.mundayweb.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Boinccmd_tool</id>
	<title>Boinccmd tool - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://boinc.mundayweb.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Boinccmd_tool"/>
	<link rel="alternate" type="text/html" href="https://boinc.mundayweb.com/wiki/index.php?title=Boinccmd_tool&amp;action=history"/>
	<updated>2026-05-02T03:18:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://boinc.mundayweb.com/wiki/index.php?title=Boinccmd_tool&amp;diff=1827&amp;oldid=prev</id>
		<title>Jord: adding font</title>
		<link rel="alternate" type="text/html" href="https://boinc.mundayweb.com/wiki/index.php?title=Boinccmd_tool&amp;diff=1827&amp;oldid=prev"/>
		<updated>2016-09-05T14:47:12Z</updated>

		<summary type="html">&lt;p&gt;adding font&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:47, 5 September 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div style=&amp;quot; line-height: 1.1rem; font-family: verdana;&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; | __TOC__&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; | __TOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l116&quot; &gt;Line 116:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 117:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That will connect to the machines 192.168.42.2 - 192.168.42.50 using the [[Controlling BOINC remotely|RPC password]] '1234' and make them attach to &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;http://project_url/&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; with the specified account key.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;That will connect to the machines 192.168.42.2 - 192.168.42.50 using the [[Controlling BOINC remotely|RPC password]] '1234' and make them attach to &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;http://project_url/&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; with the specified account key.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jord</name></author>
		
	</entry>
	<entry>
		<id>https://boinc.mundayweb.com/wiki/index.php?title=Boinccmd_tool&amp;diff=1821&amp;oldid=prev</id>
		<title>Jord: copying from BOINC User Manual wiki</title>
		<link rel="alternate" type="text/html" href="https://boinc.mundayweb.com/wiki/index.php?title=Boinccmd_tool&amp;diff=1821&amp;oldid=prev"/>
		<updated>2016-09-05T14:36:00Z</updated>

		<summary type="html">&lt;p&gt;copying from BOINC User Manual wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
 | __TOC__&lt;br /&gt;
 |}&lt;br /&gt;
The BOINC command tool ('''&amp;lt;tt&amp;gt;boinccmd&amp;lt;/tt&amp;gt;)&lt;br /&gt;
provides a command-line interface to a running [[BOINC Client|BOINC client]]&lt;br /&gt;
(local or remote).&lt;br /&gt;
This provides an alternative to the BOINC Manager,&lt;br /&gt;
e.g. on systems with no graphics display.&lt;br /&gt;
&lt;br /&gt;
The usage of &amp;lt;tt&amp;gt;boinccmd&amp;lt;/tt&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
 boinccmd [--host hostname] [--passwd passwd] command&lt;br /&gt;
&lt;br /&gt;
If you run boinccmd in the same directory as the BOINC client,&lt;br /&gt;
you don't need to supply either a host name or a password.&lt;br /&gt;
&lt;br /&gt;
Otherwise you need to supply (as password) the string stored in the file&lt;br /&gt;
&amp;lt;code&amp;gt;gui_rpc_auth.cfg&amp;lt;/code&amp;gt; in the client's data directory.&lt;br /&gt;
If you run boinccmd remotely you also need to&lt;br /&gt;
[[Controlling BOINC remotely |configure the client to accept remote control]].&lt;br /&gt;
&lt;br /&gt;
'''hostname''' can be a domain name, an IPv4 address, or an IPv6 address.&lt;br /&gt;
If the client uses a non-default GUI RPC port,&lt;br /&gt;
you can specify it as '''hostname:port''', '''IPv4_addr:port''', or '''[IPv6_addr]:port'''.&lt;br /&gt;
&lt;br /&gt;
If you use the bash shell, you may find this [[trac:BashCommandCompletion|command completion script]] useful.&lt;br /&gt;
&lt;br /&gt;
== Account query and attach ==&lt;br /&gt;
; --lookup_account URL email password: Look up account and print account key. {{New in|5.8.16}} (see [[#Old lookup_account|Old lookup_account]] for instructions on older versions)&lt;br /&gt;
; --create_account URL email password name: Create account with the given email address, password, and user name&lt;br /&gt;
; --project_attach URL account_key: Attach to an account&lt;br /&gt;
; --join_acct_mgr URL name password: Attach to an account manager (or do RPC if already attached). {{New in|5.10}} (use --acct_mgr_rpc in versions older than 5.10).&lt;br /&gt;
; --quit_acct_mgr: Detach from the current account manager. {{New in|5.10}}&lt;br /&gt;
&lt;br /&gt;
== State queries ==&lt;br /&gt;
; --get_cc_status:          Show CPU/GPU/network run modes and network connection status (version 6.12+)&lt;br /&gt;
; --get_state:              Show complete client state&lt;br /&gt;
; --get_tasks:              Show tasks&lt;br /&gt;
; --get_simple_gui_info:    Show projects and active tasks&lt;br /&gt;
; --get_file_transfers:     Show file transfers&lt;br /&gt;
; --get_project_status:     Show status of all projects&lt;br /&gt;
; --get_project_urls:       List URLs of attached projects, one per line&lt;br /&gt;
; --get_disk_usage:         Show disk usage by project&lt;br /&gt;
; --get_proxy_settings:     Get proxy settings&lt;br /&gt;
; --get_messages seqno:     Show messages with sequence numbers beyond the given &amp;lt;tt&amp;gt;seqno&amp;lt;/tt&amp;gt;&lt;br /&gt;
; --get_host_info:          Show host info&lt;br /&gt;
&amp;lt;!-- ; --get_screensaver_mode:   XXX document this --&amp;gt;&lt;br /&gt;
; --version, -V:            Show core client version&lt;br /&gt;
&lt;br /&gt;
== Control operations ==&lt;br /&gt;
; --task URL task_name operation {--window_station ws} {--desktop dt} {--display dp}: Do operation on a task, identified by the project master URL and the task name.  operations:&lt;br /&gt;
* &amp;lt;tt&amp;gt;suspend&amp;lt;/tt&amp;gt;: temporarily stop work on task&lt;br /&gt;
* &amp;lt;tt&amp;gt;resume&amp;lt;/tt&amp;gt;: allow work on task&lt;br /&gt;
* &amp;lt;tt&amp;gt;abort&amp;lt;/tt&amp;gt;: permanently stop work on task&lt;br /&gt;
* &amp;lt;tt&amp;gt;graphics_window&amp;lt;/tt&amp;gt;: open graphics in a window. The optional &amp;lt;tt&amp;gt;desktop&amp;lt;/tt&amp;gt;/&amp;lt;tt&amp;gt;window_station&amp;lt;/tt&amp;gt; (Windows) or &amp;lt;tt&amp;gt;display&amp;lt;/tt&amp;gt; (X11) arguments specify the display.&lt;br /&gt;
* &amp;lt;tt&amp;gt;graphics_fullscreen&amp;lt;/tt&amp;gt;: open graphics fullscreen&lt;br /&gt;
&lt;br /&gt;
; --project URL operation: Do operation on a project, identified by its master URL.  Operations:&lt;br /&gt;
* &amp;lt;tt&amp;gt;reset&amp;lt;/tt&amp;gt;: delete current work and get more;&lt;br /&gt;
* &amp;lt;tt&amp;gt;detach&amp;lt;/tt&amp;gt;: delete current work and don't get more;&lt;br /&gt;
* &amp;lt;tt&amp;gt;update&amp;lt;/tt&amp;gt;: contact scheduling server;&lt;br /&gt;
* &amp;lt;tt&amp;gt;suspend&amp;lt;/tt&amp;gt;: stop work for project;&lt;br /&gt;
* &amp;lt;tt&amp;gt;resume&amp;lt;/tt&amp;gt;: resume work for project;&lt;br /&gt;
* &amp;lt;tt&amp;gt;nomorework&amp;lt;/tt&amp;gt;: finish current work but don't get more;&lt;br /&gt;
* &amp;lt;tt&amp;gt;allowmorework&amp;lt;/tt&amp;gt;: undo nomorework&lt;br /&gt;
* &amp;lt;tt&amp;gt;detach_when_done&amp;lt;/tt&amp;gt;: detach project&lt;br /&gt;
&lt;br /&gt;
; --file_transfer URL filename {retry | abort}: Do operation on a file transfer&lt;br /&gt;
&lt;br /&gt;
; --set_run_mode {always | auto | never} [ duration ]:  Set run mode.&lt;br /&gt;
* &amp;lt;tt&amp;gt;always&amp;lt;/tt&amp;gt;: do CPU work always&lt;br /&gt;
* &amp;lt;tt&amp;gt;auto&amp;lt;/tt&amp;gt;: do work only when allowed by preferences&lt;br /&gt;
* &amp;lt;tt&amp;gt;never&amp;lt;/tt&amp;gt;: don't do work&lt;br /&gt;
If duration is zero or absent, this mode is permanent. Otherwise, after 'duration' seconds elapse, revert to last permanent mode.&lt;br /&gt;
&lt;br /&gt;
; --set_gpu_mode {always | auto | never} [ duration ]:  Set GPU mode.  Like set_run_mode but applies to GPU computation.&lt;br /&gt;
&lt;br /&gt;
; --set_network_mode {always | auto | never} [ duration ]: Set network mode. Like set_run_mode but applies to network transfers&lt;br /&gt;
&lt;br /&gt;
; --set_proxy_settings http_server_name http_server_port http_user_name http_user_passwd socks_server_name socks_server_port socks_version socks5_user_name socks5_user_passwd: Set proxy settings (all fields are mandatory). {{New in|6.6.12}} (exists but doesn't work before 6.6.12).&lt;br /&gt;
&lt;br /&gt;
; --run_benchmarks:  Run CPU benchmarks&lt;br /&gt;
&lt;br /&gt;
; --set_screensaver_mode on|off blank_time {--desktop desktop} {--window_station window_station} {--display display}: Tell the core client to start or stop doing fullscreen graphics, and going to black after blank_time seconds. The optional arguments specify which desktop/windows_station (Windows) or display (X11) to use.&lt;br /&gt;
&lt;br /&gt;
; --read_global_prefs_override: Tell the core client to read the [PrefsOverride global_prefs_override.xml] file, and incorporate any global preferences indicated there.&lt;br /&gt;
&lt;br /&gt;
; --quit: Tell the core client to quit&lt;br /&gt;
&lt;br /&gt;
; --read_cc_config: Reread the configuration files, to include any app_config.xml existing in the project folders. ([[Client configuration|cc_config.xml]]).&lt;br /&gt;
&lt;br /&gt;
; --set_debts URL1 STD1 LTD1 {URL2 STD2 LTD2 ...}: Set the short- and long-term debts of one or more projects. Note: if you adjust the debts of a project, the debts of other projects are changed, so if you want to set the debts of multiple projects, do it in a single command. {{New in|5.10.14}}&lt;br /&gt;
&lt;br /&gt;
== Miscellaneous ==&lt;br /&gt;
&lt;br /&gt;
; --help, -h: Show options and commands&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
It's not hard to write useful scripts based on &amp;lt;code&amp;gt;boinccmd&amp;lt;/code&amp;gt;, as long as you know your way around Unix tools. Here's one to run 'update' on all attached projects on your client:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for url in $(boinccmd --get_project_status | sed -n 's/\s*master URL: //p'); do&lt;br /&gt;
  boinccmd --project ${url} update;&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have [[Controlling BOINC remotely|remote RPCs]] set up on your clients, it's easy to, for example, attach a project on all 50 machines, by looping over a list of IPs instead of a list of projects:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for num in $(seq 2 50); do&lt;br /&gt;
    boinccmd --host 192.168.42.${num} --passwd 1234 \&lt;br /&gt;
    --project_attach http://project_url/ a84dc0bec631cbf81e25e6e7cd9ca826;&lt;br /&gt;
done;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That will connect to the machines 192.168.42.2 - 192.168.42.50 using the [[Controlling BOINC remotely|RPC password]] '1234' and make them attach to &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;http://project_url/&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; with the specified account key.&lt;/div&gt;</summary>
		<author><name>Jord</name></author>
		
	</entry>
</feed>