mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed SERVER PERFORMANCE PROFILE and Configuration file section because same documents are available in man page. Added References section. * README
This commit is contained in:
parent
9b9c527d21
commit
8cac61a25f
3 changed files with 25 additions and 128 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Removed SERVER PERFORMANCE PROFILE and Configuration file section
|
||||||
|
because same documents are available in man page. Added
|
||||||
|
References section.
|
||||||
|
* README
|
||||||
|
|
||||||
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2009-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Documented sc_avg_speed, mc_avg_speed and counter in SERVER
|
Documented sc_avg_speed, mc_avg_speed and counter in SERVER
|
||||||
|
|
60
README
60
README
|
@ -225,58 +225,8 @@ netrc support is enabled by default for HTTP(S)/FTP. To disable netrc
|
||||||
support, specify -n command-line option. Your .netrc file should have
|
support, specify -n command-line option. Your .netrc file should have
|
||||||
correct permissions(600).
|
correct permissions(600).
|
||||||
|
|
||||||
SERVER PERFORMANCE PROFILE
|
References
|
||||||
--------------------------
|
----------
|
||||||
This section describes the format of server performance profile. The
|
* man aria2c
|
||||||
file is plain text and each line has several NAME=VALUE pair,
|
* http://aria2.sourceforge.net/
|
||||||
delimited by comma. Currently following NAMEs are recognized:
|
* https://apps.sourceforge.net/trac/aria2/wiki
|
||||||
|
|
||||||
host::
|
|
||||||
Hostname of the server. Required.
|
|
||||||
|
|
||||||
protocol::
|
|
||||||
Protocol for this profile, such as ftp, http. Required.
|
|
||||||
|
|
||||||
dl_speed::
|
|
||||||
The average download speed observed in the previous download in
|
|
||||||
bytes per sec. Required.
|
|
||||||
|
|
||||||
last_updated::
|
|
||||||
Last contact time in GMT with this server, specified in the seconds
|
|
||||||
from the Epoch. Required.
|
|
||||||
|
|
||||||
status::
|
|
||||||
ERROR is set when server cannot be reached or out-of-service or
|
|
||||||
timeout occurred. Otherwise, OK is set.
|
|
||||||
|
|
||||||
Those fields must exist in one line. The order of the fields is not
|
|
||||||
significant. You can put pairs other than above but they are simply
|
|
||||||
ignored.
|
|
||||||
|
|
||||||
An example is follow:
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
|
|
||||||
host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Configuration file
|
|
||||||
------------------
|
|
||||||
|
|
||||||
By default, aria2 parses "$HOME/.aria2/aria2.conf" as a configuraiton
|
|
||||||
file. You can specify the path to configuration file using
|
|
||||||
\--conf-path option. If you don't want to use the configuraitonf
|
|
||||||
file, use \--no-conf option.
|
|
||||||
|
|
||||||
The configuration file is a text file and has 1 option per each
|
|
||||||
line. In each line, you can specify name-value pair in the format:
|
|
||||||
NAME=VALUE, where name is the long command-line option name without
|
|
||||||
"\--" prefix. You can use same syntax for the command-line option. The
|
|
||||||
lines beginning "#" are treated as comments.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
--------------------------------------
|
|
||||||
# sample configuration file for aria2c
|
|
||||||
listen-port=60000
|
|
||||||
seed-ratio=1.0
|
|
||||||
max-upload-limit=40K
|
|
||||||
---------------------------------------
|
|
||||||
|
|
86
README.html
86
README.html
|
@ -809,89 +809,29 @@ not saved.</p></div>
|
||||||
support, specify -n command-line option. Your .netrc file should have
|
support, specify -n command-line option. Your .netrc file should have
|
||||||
correct permissions(600).</p></div>
|
correct permissions(600).</p></div>
|
||||||
</div>
|
</div>
|
||||||
<h2 id="_server_performance_profile">8. SERVER PERFORMANCE PROFILE</h2>
|
<h2 id="_references">8. References</h2>
|
||||||
<div class="sectionbody">
|
<div class="sectionbody">
|
||||||
<div class="para"><p>This section describes the format of server performance profile. The
|
<div class="ilist"><ul>
|
||||||
file is plain text and each line has several NAME=VALUE pair,
|
<li>
|
||||||
delimited by comma. Currently following NAMEs are recognized:</p></div>
|
|
||||||
<div class="vlist"><dl>
|
|
||||||
<dt>
|
|
||||||
host
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
<p>
|
||||||
Hostname of the server. Required.
|
man aria2c
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</li>
|
||||||
<dt>
|
<li>
|
||||||
protocol
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
<p>
|
||||||
Protocol for this profile, such as ftp, http. Required.
|
<a href="http://aria2.sourceforge.net/">http://aria2.sourceforge.net/</a>
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</li>
|
||||||
<dt>
|
<li>
|
||||||
dl_speed
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
<p>
|
||||||
The average download speed observed in the previous download in
|
<a href="https://apps.sourceforge.net/trac/aria2/wiki">https://apps.sourceforge.net/trac/aria2/wiki</a>
|
||||||
bytes per sec. Required.
|
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</li>
|
||||||
<dt>
|
</ul></div>
|
||||||
last_updated
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
|
||||||
Last contact time in GMT with this server, specified in the seconds
|
|
||||||
from the Epoch. Required.
|
|
||||||
</p>
|
|
||||||
</dd>
|
|
||||||
<dt>
|
|
||||||
status
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<p>
|
|
||||||
ERROR is set when server cannot be reached or out-of-service or
|
|
||||||
timeout occurred. Otherwise, OK is set.
|
|
||||||
</p>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
<div class="para"><p>Those fields must exist in one line. The order of the fields is not
|
|
||||||
significant. You can put pairs other than above but they are simply
|
|
||||||
ignored.</p></div>
|
|
||||||
<div class="para"><p>An example is follow:</p></div>
|
|
||||||
<div class="listingblock">
|
|
||||||
<div class="content">
|
|
||||||
<pre><tt>host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
|
|
||||||
host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR</tt></pre>
|
|
||||||
</div></div>
|
|
||||||
</div>
|
|
||||||
<h2 id="_configuration_file">9. Configuration file</h2>
|
|
||||||
<div class="sectionbody">
|
|
||||||
<div class="para"><p>By default, aria2 parses "$HOME/.aria2/aria2.conf" as a configuraiton
|
|
||||||
file. You can specify the path to configuration file using
|
|
||||||
--conf-path option. If you don't want to use the configuraitonf
|
|
||||||
file, use --no-conf option.</p></div>
|
|
||||||
<div class="para"><p>The configuration file is a text file and has 1 option per each
|
|
||||||
line. In each line, you can specify name-value pair in the format:
|
|
||||||
NAME=VALUE, where name is the long command-line option name without
|
|
||||||
"--" prefix. You can use same syntax for the command-line option. The
|
|
||||||
lines beginning "#" are treated as comments.</p></div>
|
|
||||||
<div class="para"><p>Example:</p></div>
|
|
||||||
<div class="listingblock">
|
|
||||||
<div class="content">
|
|
||||||
<pre><tt># sample configuration file for aria2c
|
|
||||||
listen-port=60000
|
|
||||||
seed-ratio=1.0
|
|
||||||
max-upload-limit=40K</tt></pre>
|
|
||||||
</div></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2009-02-14 18:26:21 JST
|
Last updated 2009-02-14 18:47:11 JST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue