67 lines
2.1 KiB
Diff
67 lines
2.1 KiB
Diff
From 82aa302cc1b5fba57792dbf43721897aa3305cff Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Mon, 6 Jul 2020 13:18:40 -0400
|
|
Subject: [PATCH 4/7] rt-tests: Add a man page for get_cyclictest_snapshot
|
|
|
|
Add a man page for get_cyclictest_snapshot based on -h
|
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
---
|
|
src/cyclictest/get_cyclictest_snapshot.8 | 44 ++++++++++++++++++++++++
|
|
1 file changed, 44 insertions(+)
|
|
create mode 100644 src/cyclictest/get_cyclictest_snapshot.8
|
|
|
|
diff --git a/src/cyclictest/get_cyclictest_snapshot.8 b/src/cyclictest/get_cyclictest_snapshot.8
|
|
new file mode 100644
|
|
index 000000000000..e9251a8e821f
|
|
--- /dev/null
|
|
+++ b/src/cyclictest/get_cyclictest_snapshot.8
|
|
@@ -0,0 +1,44 @@
|
|
+.\" Hey, EMACS: -*- nroff -*-
|
|
+.TH GET_CYCLICTEST_SNAPSHOT 8 "July 6, 2020"
|
|
+.\" Please adjust this date whenever revising the manpage.
|
|
+.\"
|
|
+.\" Some roff macros, for reference:
|
|
+.\" .nh disable hyphenation
|
|
+.\" .hy enable hyphenation
|
|
+.\" .ad l left justify
|
|
+.\" .ad b justify to both left and right margins
|
|
+.\" .nf disable filling
|
|
+.\" .fi enable filling
|
|
+.\" .br insert line break
|
|
+.\" .sp <n> insert n+1 empty lines
|
|
+.\" for manpage-specific macros, see man(7)
|
|
+.SH NAME
|
|
+get_cyclictest_snapshot \- Get a snapshot of running instances of cyclictest
|
|
+.SH SYNOPSIS
|
|
+.SY get_cyclictest_snapshot
|
|
+.OP [\-h]\ [\-l]\ [\-s\ [pid [pid ...]]]
|
|
+.br
|
|
+.OP [\-p\ [pid\ [pid ...]]]
|
|
+.SH OPTIONS
|
|
+Without options, this program will send USR2 to cyclictest to create a snapshot and then print it out.
|
|
+.br
|
|
+.TP
|
|
+Optional arguments:
|
|
+.TP
|
|
+.B -h, --help
|
|
+show this help message and exit
|
|
+.TP
|
|
+.B -l, --list
|
|
+list the main pid(s) of running instances of cyclictest
|
|
+.TP
|
|
+.B -s [pid [pid ...]], --snapshot [pid [pid ...]]
|
|
+take a snapshot of running instances of cyclictest
|
|
+.br
|
|
+by sending USR2 to cyclictest
|
|
+.TP
|
|
+.B -p [pid [pid ...]], --print [pid [pid ...]]
|
|
+print the snapshots
|
|
+.SH SEE ALSO
|
|
+.BR cyclictest (8),
|
|
+.SH AUTHOR
|
|
+get_cyclictest_snapshot was written by John Kacur <jkacur at redhat dot com>
|
|
--
|
|
2.21.3
|
|
|