2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2004-05-05 17:48:39 +00:00
|
|
|
require_once("docutil.php");
|
2006-12-06 20:59:29 +00:00
|
|
|
page_head("Core client configuration files, command-line options, and environment variables");
|
2004-05-05 17:48:39 +00:00
|
|
|
echo "
|
2006-03-06 21:40:07 +00:00
|
|
|
The BOINC core client can be controlled by command-line options,
|
|
|
|
configuration files, and environment variables.
|
|
|
|
<p>
|
|
|
|
<b>These features are generally useful only for
|
|
|
|
advanced users.</b>
|
|
|
|
|
2006-03-06 05:43:12 +00:00
|
|
|
<h3>Configuration files</h3>
|
2006-03-06 21:40:07 +00:00
|
|
|
<p>
|
|
|
|
BOINC uses the following configuration files.
|
|
|
|
You can pre-populate these files to control BOINC in various ways.
|
2006-12-06 20:59:29 +00:00
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item("<a href=client_files.php>Account files</a>",
|
|
|
|
"each one describes an attached project."
|
|
|
|
);
|
|
|
|
list_item("<a href=prefs_override.php>global_prefs_override.xml</a>",
|
|
|
|
"override global preferences"
|
|
|
|
);
|
|
|
|
list_item("<a href=client_msgs.php>cc_config.xml</a>",
|
|
|
|
"turn log messages on/off by category,
|
|
|
|
and other core client configuration options."
|
|
|
|
);
|
2006-12-12 23:23:53 +00:00
|
|
|
list_item("<a href=gui_rpc_auth.php>remote_hosts.cfg</a>",
|
2006-12-06 20:59:29 +00:00
|
|
|
"hosts from which remote GUI RPCs is allowed"
|
|
|
|
);
|
2006-12-12 23:23:53 +00:00
|
|
|
list_item("<a href=gui_rpc_auth.php>gui_rpc_auth.cfg</a>",
|
2006-12-06 20:59:29 +00:00
|
|
|
"GUI RPC password"
|
|
|
|
);
|
|
|
|
list_item("<a href=client_startup.php>project_init.xml</a>",
|
|
|
|
"startup project"
|
|
|
|
);
|
|
|
|
list_item("<a href=client_startup.php>acct_mgr_url.xml</a>",
|
|
|
|
"account manager URL"
|
|
|
|
);
|
|
|
|
list_item("<a href=client_startup.php>acct_mgr_login.xml</a>",
|
|
|
|
"account manager login"
|
|
|
|
);
|
|
|
|
list_end();
|
|
|
|
echo "
|
2006-03-06 05:43:12 +00:00
|
|
|
<h3>Command-line options</h3>
|
2004-05-05 17:48:39 +00:00
|
|
|
<p>
|
2005-12-13 08:04:57 +00:00
|
|
|
The core client has
|
|
|
|
command-line options that provide minimal control
|
2005-11-05 07:08:42 +00:00
|
|
|
(e.g. the ability attach and detach projects).
|
|
|
|
<p>
|
2005-12-13 08:04:57 +00:00
|
|
|
More detailed control, and the ability to interact
|
|
|
|
with a running client, is provided by the
|
|
|
|
<a href=boinc_cmd.php>BOINC command tool</a>.
|
2005-02-11 23:34:09 +00:00
|
|
|
<p>
|
2005-03-23 06:26:19 +00:00
|
|
|
";
|
|
|
|
list_start();
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--help",
|
2005-04-15 21:05:58 +00:00
|
|
|
"Show client options."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--version",
|
2005-04-15 21:05:58 +00:00
|
|
|
"Show client version."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("<nobr>--attach_project URL account_key</nobr>",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Attach this computer to a new project."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--show_projects",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Print a list of projects to which this computer is attached."
|
|
|
|
);
|
|
|
|
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--detach_project URL",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Detach this computer from a project."
|
|
|
|
);
|
|
|
|
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--reset_project URL",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Clear pending work for a project.
|
|
|
|
Use this if there is a problem that is preventing
|
|
|
|
your computer from working."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--update_prefs URL",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Contact a project's server to obtain new preferences.
|
|
|
|
This will also report completed results
|
|
|
|
and get new work if needed."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--return_results_immediately",
|
|
|
|
"Report each result as soon as it's done."
|
2005-03-23 06:26:19 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--run_cpu_benchmarks",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Run CPU benchmarks.
|
|
|
|
Do this if you have modified your computer's hardware."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--check_all_logins",
|
|
|
|
"(Unix) If 'run if user active' preference is off,
|
2005-03-23 06:26:19 +00:00
|
|
|
check for input activity on all current logins;
|
|
|
|
default is to check only local mouse/keyboard"
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--exit_when_idle",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Get, process and report work, then exit."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--gui_rpc_port N",
|
2005-12-13 08:04:57 +00:00
|
|
|
"Specify port for GUI RPCs"
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--allow_remote_gui_rpc",
|
2005-03-23 06:26:19 +00:00
|
|
|
"Allow GUI RPCs from remote hosts"
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--dir abs_path",
|
2005-04-15 21:05:58 +00:00
|
|
|
"Use the given directory as BOINC home"
|
2005-03-23 06:26:19 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--detach",
|
2005-12-01 21:19:51 +00:00
|
|
|
"Detach from console (Windows only)"
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--no_gui_rpc",
|
2005-12-13 08:04:57 +00:00
|
|
|
"Don't allow GUI RPCs."
|
2005-07-24 18:23:56 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item("--daemon",
|
|
|
|
"Linux: detach from controlling terminal; Windows: run as service"
|
2006-01-16 04:09:03 +00:00
|
|
|
);
|
2005-03-23 06:26:19 +00:00
|
|
|
list_end();
|
|
|
|
echo "
|
2005-11-05 07:08:42 +00:00
|
|
|
<h2>Environment variables</h2>
|
2005-02-11 23:34:09 +00:00
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item("HTTP_PROXY", "URL of HTTP proxy");
|
|
|
|
list_item("HTTP_USER_NAME", "User name for proxy authentication");
|
|
|
|
list_item("HTTP_USER_PASSWD", "Password for proxy authentication");
|
|
|
|
list_item("SOCKS4_SERVER", "URL of SOCKS 4 server");
|
|
|
|
list_item("SOCKS5_SERVER", "URL of SOCKS 5 server");
|
|
|
|
list_item("SOCKS5_USER", "User name for SOCKS authentication");
|
|
|
|
list_item("SOCKS5_PASSWD", "Password for SOCKS authentication");
|
|
|
|
list_end();
|
2005-02-16 01:21:41 +00:00
|
|
|
echo "
|
2007-02-12 23:53:16 +00:00
|
|
|
<h2>Implementation and debugging command-line options</h2>
|
2005-02-11 23:34:09 +00:00
|
|
|
";
|
|
|
|
list_start();
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --exit_when_idle ",
|
|
|
|
" Exit when we have no work and a scheduling server
|
2005-11-05 07:08:42 +00:00
|
|
|
gives a 'no work' return."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --no_time_test",
|
2005-11-05 07:08:42 +00:00
|
|
|
" Don't run performance benchmarks; used fixed numbers instead."
|
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --exit_after_app_start N",
|
|
|
|
" Exit about N seconds after first application starts"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --min",
|
|
|
|
" Put client in the background after starting up"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --skip_cpu_benchmarks",
|
|
|
|
" Don't run CPU benchmarks"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2007-02-12 23:53:16 +00:00
|
|
|
list_item(" --file_xfer_giveup_period N",
|
|
|
|
" Specify giveup period for file transfers"
|
|
|
|
);
|
|
|
|
list_item(" --started_by_screensaver N",
|
|
|
|
" Passed by screensaver when it launches client"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2005-02-11 23:34:09 +00:00
|
|
|
list_end();
|
2004-05-05 17:48:39 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|