mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
update manpage
This commit is contained in:
@@ -81,7 +81,7 @@ of/large files over networks.
|
|||||||
.PP
|
.PP
|
||||||
The usage of
|
The usage of
|
||||||
.B mscp
|
.B mscp
|
||||||
imitates the
|
follows the
|
||||||
.B scp
|
.B scp
|
||||||
command of
|
command of
|
||||||
.I OpenSSH,
|
.I OpenSSH,
|
||||||
@@ -120,8 +120,10 @@ formula: floor(log(nr_cores)*2)+1.
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-m \fICOREMASK\fR
|
.B \-m \fICOREMASK\fR
|
||||||
Configures CPU cores to be used by the hexadecimal bitmask. All CPU
|
Configures CPU cores to be used by the hexadecimal bitmask. For
|
||||||
cores are used by default.
|
example, -m 0x25 pins threads onto CPU cores 0, 2, and 5. The default
|
||||||
|
value is not specified: all CPU cores are used and no threads are
|
||||||
|
pinned to any cores.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-u \fIMAX_STARTUPS\fR
|
.B \-u \fIMAX_STARTUPS\fR
|
||||||
@@ -186,7 +188,8 @@ and remove the checkpoint if it returns 0.
|
|||||||
.B \-s \fIMIN_CHUNK_SIZE\fR
|
.B \-s \fIMIN_CHUNK_SIZE\fR
|
||||||
Specifies the minimum chunk size.
|
Specifies the minimum chunk size.
|
||||||
.B mscp
|
.B mscp
|
||||||
divides a file into chunks and copies the chunks in parallel.
|
divides a single file into chunks and copies the chunks in
|
||||||
|
parallel. The default value is 67108864 (64MB).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-S \fIMAX_CHUNK_SIZE\fR
|
.B \-S \fIMAX_CHUNK_SIZE\fR
|
||||||
@@ -247,7 +250,7 @@ Specifies the username to log in on the remote machine as with
|
|||||||
.TP
|
.TP
|
||||||
.B \-P \fIPORT\fR
|
.B \-P \fIPORT\fR
|
||||||
Specifies the port number to connect to on the remote machine as with
|
Specifies the port number to connect to on the remote machine as with
|
||||||
ssh(1) and scp(1).
|
.I scp(1).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-F \fISSH_CONFIG\fR
|
.B \-F \fISSH_CONFIG\fR
|
||||||
|
|||||||
17
doc/mscp.rst
17
doc/mscp.rst
@@ -2,7 +2,7 @@
|
|||||||
MSCP
|
MSCP
|
||||||
====
|
====
|
||||||
|
|
||||||
:Date: v0.1.5-13-gf2f0dab
|
:Date: v0.1.5-16-ga1ba6f1
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
====
|
====
|
||||||
@@ -29,7 +29,7 @@ threads. It enables transferring (1) multiple files simultaneously and
|
|||||||
(2) a large file in parallel, reducing the transfer time for a lot
|
(2) a large file in parallel, reducing the transfer time for a lot
|
||||||
of/large files over networks.
|
of/large files over networks.
|
||||||
|
|
||||||
The usage of **mscp** imitates the **scp** command of *OpenSSH,* for
|
The usage of **mscp** follows the **scp** command of *OpenSSH,* for
|
||||||
example:
|
example:
|
||||||
|
|
||||||
::
|
::
|
||||||
@@ -54,8 +54,10 @@ OPTIONS
|
|||||||
following formula: floor(log(nr_cores)*2)+1.
|
following formula: floor(log(nr_cores)*2)+1.
|
||||||
|
|
||||||
**-m COREMASK**
|
**-m COREMASK**
|
||||||
Configures CPU cores to be used by the hexadecimal bitmask. All CPU
|
Configures CPU cores to be used by the hexadecimal bitmask. For
|
||||||
cores are used by default.
|
example, -m 0x25 pins threads onto CPU cores 0, 2, and 5. The default
|
||||||
|
value is not specified: all CPU cores are used and no threads are
|
||||||
|
pinned to any cores.
|
||||||
|
|
||||||
**-u MAX_STARTUPS**
|
**-u MAX_STARTUPS**
|
||||||
Specifies the number of concurrent outgoing SSH connections. **sshd**
|
Specifies the number of concurrent outgoing SSH connections. **sshd**
|
||||||
@@ -94,8 +96,9 @@ OPTIONS
|
|||||||
remove the checkpoint if it returns 0.
|
remove the checkpoint if it returns 0.
|
||||||
|
|
||||||
**-s MIN_CHUNK_SIZE**
|
**-s MIN_CHUNK_SIZE**
|
||||||
Specifies the minimum chunk size. **mscp** divides a file into chunks
|
Specifies the minimum chunk size. **mscp** divides a single file into
|
||||||
and copies the chunks in parallel.
|
chunks and copies the chunks in parallel. The default value is
|
||||||
|
67108864 (64MB).
|
||||||
|
|
||||||
**-S MAX_CHUNK_SIZE**
|
**-S MAX_CHUNK_SIZE**
|
||||||
Specifies the maximum chunk size. The default is file size divided by
|
Specifies the maximum chunk size. The default is file size divided by
|
||||||
@@ -142,7 +145,7 @@ OPTIONS
|
|||||||
|
|
||||||
**-P PORT**
|
**-P PORT**
|
||||||
Specifies the port number to connect to on the remote machine as with
|
Specifies the port number to connect to on the remote machine as with
|
||||||
ssh(1) and scp(1).
|
*scp(1).*
|
||||||
|
|
||||||
**-F SSH_CONFIG**
|
**-F SSH_CONFIG**
|
||||||
Specifies an alternative per-user ssh configuration file. Note that
|
Specifies an alternative per-user ssh configuration file. Note that
|
||||||
|
|||||||
Reference in New Issue
Block a user