diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-04-13 10:16:19 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-04-13 10:18:34 +0900 |
commit | 94563c3166b5910704f31af62cfb6bac76ed208f (patch) | |
tree | b97cb47555b7b53458ce91f78cc08c216d658185 | |
parent | a1b9afefe50fbbdf6391e94ab21e6e7645eabe4d (diff) |
update manpage
-rw-r--r-- | doc/mscp.1.in | 13 | ||||
-rw-r--r-- | doc/mscp.rst | 17 |
2 files changed, 18 insertions, 12 deletions
diff --git a/doc/mscp.1.in b/doc/mscp.1.in index 3513488..4d3184e 100644 --- a/doc/mscp.1.in +++ b/doc/mscp.1.in @@ -81,7 +81,7 @@ of/large files over networks. .PP The usage of .B mscp -imitates the +follows the .B scp command of .I OpenSSH, @@ -120,8 +120,10 @@ formula: floor(log(nr_cores)*2)+1. .TP .B \-m \fICOREMASK\fR -Configures CPU cores to be used by the hexadecimal bitmask. All CPU -cores are used by default. +Configures CPU cores to be used by the hexadecimal bitmask. For +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 .B \-u \fIMAX_STARTUPS\fR @@ -186,7 +188,8 @@ and remove the checkpoint if it returns 0. .B \-s \fIMIN_CHUNK_SIZE\fR Specifies the minimum chunk size. .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 .B \-S \fIMAX_CHUNK_SIZE\fR @@ -247,7 +250,7 @@ Specifies the username to log in on the remote machine as with .TP .B \-P \fIPORT\fR Specifies the port number to connect to on the remote machine as with -ssh(1) and scp(1). +.I scp(1). .TP .B \-F \fISSH_CONFIG\fR diff --git a/doc/mscp.rst b/doc/mscp.rst index 27dc325..9935d21 100644 --- a/doc/mscp.rst +++ b/doc/mscp.rst @@ -2,7 +2,7 @@ MSCP ==== -:Date: v0.1.5-13-gf2f0dab +:Date: v0.1.5-16-ga1ba6f1 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 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: :: @@ -54,8 +54,10 @@ OPTIONS following formula: floor(log(nr_cores)*2)+1. **-m COREMASK** - Configures CPU cores to be used by the hexadecimal bitmask. All CPU - cores are used by default. + Configures CPU cores to be used by the hexadecimal bitmask. For + 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** Specifies the number of concurrent outgoing SSH connections. **sshd** @@ -94,8 +96,9 @@ OPTIONS remove the checkpoint if it returns 0. **-s MIN_CHUNK_SIZE** - Specifies the minimum chunk size. **mscp** divides a file into chunks - and copies the chunks in parallel. + Specifies the minimum chunk size. **mscp** divides a single file into + chunks and copies the chunks in parallel. The default value is + 67108864 (64MB). **-S MAX_CHUNK_SIZE** Specifies the maximum chunk size. The default is file size divided by @@ -142,7 +145,7 @@ OPTIONS **-P PORT** Specifies the port number to connect to on the remote machine as with - ssh(1) and scp(1). + *scp(1).* **-F SSH_CONFIG** Specifies an alternative per-user ssh configuration file. Note that |