summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-05-19 19:00:49 +0200
committerJohn Kacur <jkacur@redhat.com>2021-05-21 23:42:11 -0400
commit78ebe67f56eb61643cfcb1eebfaaded57079af1a (patch)
treeb20c5df4dac0564d321edb97789b1211a8c3a00e
parentd8a15a900da66a07cc4704576834e93349f8d113 (diff)
downloadrt-tests-78ebe67f56eb61643cfcb1eebfaaded57079af1a.tar.gz
pmqtest: Add --json to man page
Add the newly introduced --json command line to the man page. Signed-off-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--src/pmqtest/pmqtest.85
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pmqtest/pmqtest.8 b/src/pmqtest/pmqtest.8
index 36678d0..4fbcc5c 100644
--- a/src/pmqtest/pmqtest.8
+++ b/src/pmqtest/pmqtest.8
@@ -4,7 +4,7 @@
\fBpmqtest\fR \- Start pairs of threads and measure the latency of interprocess communication with POSIX messages queues
.SH "SYNTAX"
.LP
-pmqtest [-a|-a PROC] [-b USEC] [-d DIST] [-D TIME] [-f TO] [-h] [-i INTV] [-l LOOPS] [-p PRIO] [-q] [-S] [-t|-t NUM]
+pmqtest [-a|-a PROC] [-b USEC] [-d DIST] [-D TIME] [-f TO] [-h] [-i INTV] [--json FILENAME] [-l LOOPS] [-p PRIO] [-q] [-S] [-t|-t NUM]
.br
.SH "DESCRIPTION"
.LP
@@ -35,6 +35,9 @@ Set an artificial delay of the send function to force timeout of the receiver, r
.B \-i, \-\-interval=INTV
Set the base interval of the thread(s) in microseconds (default is 1000 us). This sets the interval of the first thread. See also -d.
.TP
+.B \-\-json=FILENAME
+Write final results into FILENAME, JSON formatted.
+.TP
.B \-l, \-\-loops=LOOPS
Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles. pmqtest is stopped once the number of timer intervals has been reached.
.TP