Skip to content

Commit ca36d9c

Browse files
committed
Configuration file clarification.
1 parent a5e21e2 commit ca36d9c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/netperfmeter.1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ remote_endpoint:remote_port
7272
.br
7373
.Op Fl T Ar seconds | Fl Fl runtime Ar seconds
7474
.br
75-
.Op Fl C Ar configuration_file_pattern | Fl Fl Ar config configuration_file_pattern
75+
.Op Fl C Ar configuration_file | Fl Fl Ar config configuration_file
7676
.br
7777
.Op Fl S Ar scalar_file_pattern | Fl Fl scalar Ar scalar_file_pattern
7878
.br
@@ -145,9 +145,8 @@ Sets the sender buffer size to the given number of bytes.
145145
Sets the receiver buffer size to the given number of bytes.
146146
.It Fl T Ar seconds | Fl Fl runtime Ar seconds
147147
Specifies the measurement runtime in seconds. After the given time span, NetPerfMeter will finish the measurement.
148-
.It Fl C Ar configuration_file_pattern | Fl Fl Ar config configuration_file_pattern
149-
Specifies the name pattern of the configuration files to write. For each, active and passive side, a configuration file is generated. The actual configuration file names are extended by -<active|passive> before the suffix.
150-
For example for measurement.config, the name of the configuration file on the active node will be measurement-active.config.
148+
.It Fl C Ar configuration_file | Fl Fl Ar config configuration_file
149+
Specifies the name of the configuration file to write. The configuration file will contain the used flow parameters.
151150
.It Fl S Ar scalar_file_pattern | Fl Fl scalar Ar scalar_file_pattern
152151
Specifies the name pattern of the scalar files to write. If the suffix of this name is .bz2, the file will be BZip2-compressed on the fly. The scalar name is automatically extended to name the flow scalar files by adding -<active|passive>-<flow_id>-<stream_id> before the suffix.
153152
For example for scalar.vec.bz2, the name of the scalar file for flow 5, stream 2 on the active node will be scalar-active-00000005-0002.vec.bz2.

src/netperfmeter.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ bool handleGlobalParameters(int argc, char** argv)
160160
{ "runtime", required_argument, 0, 'T' },
161161
{ "sndbuf", required_argument, 0, 'i' },
162162
{ "rcvbuf", required_argument, 0, 'o' },
163-
{ "config", required_argument, 0, 'S' },
164-
{ "scalar", required_argument, 0, 'V' },
165-
{ "vector", required_argument, 0, 'C' },
163+
{ "config", required_argument, 0, 'C' },
164+
{ "scalar", required_argument, 0, 'S' },
165+
{ "vector", required_argument, 0, 'V' },
166166
{ "activenodename", required_argument, 0, 'A' },
167167
{ "passivenodename", required_argument, 0, 'P' },
168168

0 commit comments

Comments
 (0)