summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-05-19 19:02:01 +0200
committerJohn Kacur <jkacur@redhat.com>2021-05-21 23:54:12 -0400
commitfca9fc32b0e6b2bf202787e25f4bda279c4d0ca7 (patch)
tree3b5fe4551e345d1c8cdc3f3b4a0062b7194bb9bd
parent2f34187dfe1933f36ea771a8a59951bb1f0db175 (diff)
downloadrt-tests-fca9fc32b0e6b2bf202787e25f4bda279c4d0ca7.tar.gz
svematest: 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/svsematest/svsematest.85
1 files changed, 4 insertions, 1 deletions
diff --git a/src/svsematest/svsematest.8 b/src/svsematest/svsematest.8
index 828f915..93abf55 100644
--- a/src/svsematest/svsematest.8
+++ b/src/svsematest/svsematest.8
@@ -4,7 +4,7 @@
\fBsvsematest\fR \- Start two threads or fork two processes and measure the latency of SYSV semaphores
.SH "SYNTAX"
.LP
-svsematest [-a|--affinity NUM] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [-l|--loops LOOPS] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads [NUM]]
+svsematest [-a|--affinity NUM] [-b|--breaktrace USEC] [-d|--distance DIST] [-D|--duration TIME] [-f|--fork [OPT]] [-i|--interval INTV] [--json FILENAME] [-l|--loops LOOPS] [-p|--prio PRIO] [-q|--quiet] [-S|--smp] [-t|--threads [NUM]]
.br
.SH "DESCRIPTION"
.LP
@@ -32,6 +32,9 @@ Instead of creating threads (which is the default), fork new processes
.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. svsematest is stopped once the number of timer intervals has been reached.
.TP