Blame SOURCES/python-schedutils-Add-man-pages-for-pchrt-and-ptasks.patch

3622e7
From cfcbaa7607f0e57eedc4841c2e430a3065f13298 Mon Sep 17 00:00:00 2001
3622e7
From: John Kacur <jkacur@redhat.com>
3622e7
Date: Tue, 10 May 2016 16:55:43 +0200
3622e7
Subject: [PATCH 2/2] python-schedutils: Add man pages for pchrt and ptaskset
3622e7
3622e7
Add some minimal man pages based on the output of --help for
3622e7
pchrt and ptaskset
3622e7
3622e7
Signed-off-by: John Kacur <jkacur@redhat.com>
3622e7
---
3622e7
 pchrt.1    | 47 +++++++++++++++++++++++++++++++++++++++++++++++
3622e7
 ptaskset.1 | 26 ++++++++++++++++++++++++++
3622e7
 2 files changed, 73 insertions(+)
3622e7
 create mode 100644 pchrt.1
3622e7
 create mode 100644 ptaskset.1
3622e7
3622e7
diff --git a/pchrt.1 b/pchrt.1
3622e7
new file mode 100644
3622e7
index 000000000000..cc5136d4dbda
3622e7
--- /dev/null
3622e7
+++ b/pchrt.1
3622e7
@@ -0,0 +1,47 @@
3622e7
+.\"                                      Hey, EMACS: -*- nroff -*-
3622e7
+.TH PCHRT 1 "May 10 2016"
3622e7
+.SH NAME
3622e7
+.B pchrt (python\-schedutils) \- manipulate the real-time attributes of a process
3622e7
+.SH SYNOPSIS
3622e7
+pchrt [options] [prio] [pid | cmd [args...]]
3622e7
+.SH OPTIONS
3622e7
+.TP
3622e7
+.B  \-b, \-\-batch
3622e7
+set policy to SCHED_BATCH
3622e7
+.TP
3622e7
+.B  \-f, \-\-fifo
3622e7
+set policy to SCHED_FIFO
3622e7
+.TP
3622e7
+.B  \-i, \-\-idle
3622e7
+set policy to SCHED_IDLE
3622e7
+.TP
3622e7
+.B  \-p, \-\-pid
3622e7
+operate on existing given pid
3622e7
+.TP
3622e7
+.B  \-m, \-\-max
3622e7
+show min and max valid priorities
3622e7
+.TP
3622e7
+.B  \-o, \-\-other
3622e7
+set policy to SCHED_OTHER
3622e7
+.TP
3622e7
+.B  \-r, \-\-rr
3622e7
+set policy to SCHED_RR (default)
3622e7
+.TP
3622e7
+.B  \-R, \-\-reset-on-fork
3622e7
+set SCHED_RESET_ON_FORK for FIFO or RR
3622e7
+.TP
3622e7
+.B  \-h, \-\-help
3622e7
+display help
3622e7
+.TP
3622e7
+.B Note:
3622e7
+You must give a priority if changing policy.
3622e7
+.SH SEE ALSO
3622e7
+.BR chrt (1)
3622e7
+.SH AUTHOR
3622e7
+pchrt was written by Arnaldo Carvalho de Melo <acme@redhat.com>
3622e7
+.br
3622e7
+as part of python\-schedutils
3622e7
+.PP
3622e7
+This manual page was written by John Kacur <jkacur@redhat.com>
3622e7
+.PP
3622e7
+Report bugs and send patches to <tuna-devel@lists.fedorahosted.org>
3622e7
diff --git a/ptaskset.1 b/ptaskset.1
3622e7
new file mode 100644
3622e7
index 000000000000..022d8f8bed65
3622e7
--- /dev/null
3622e7
+++ b/ptaskset.1
3622e7
@@ -0,0 +1,26 @@
3622e7
+.\"                                      Hey, EMACS: -*- nroff -*-
3622e7
+.TH PTASKSET 1 "May 10 2016"
3622e7
+.SH NAME
3622e7
+.B ptaskset (python\-schedutils) \- set or get the affinity of a process
3622e7
+.SH SYNOPSIS
3622e7
+ptaskset [options] [mask | cpu\-list] [pid | cmd [args...]]
3622e7
+.SH OPTIONS
3622e7
+.TP
3622e7
+.B \-p, \-\-pid
3622e7
+operate on existing given pid
3622e7
+.TP
3622e7
+.B \-c, \-\-cpu\-list
3622e7
+display and specify cpus in list format
3622e7
+.TP
3622e7
+.B \-h, \-\-help
3622e7
+display help
3622e7
+.SH SEE ALSO
3622e7
+.BR taskset (1)
3622e7
+.SH AUTHOR
3622e7
+ptaskset was written by Arnaldo Carvalho de Melo <acme@redhat.com>
3622e7
+.br
3622e7
+as part of python\-schedutils
3622e7
+.PP
3622e7
+This manual page was written by John Kacur <jkacur@redhat.com>
3622e7
+.PP
3622e7
+Report bugs and send patches to <tuna-devel@lists.fedorahosted.org>
3622e7
-- 
3622e7
2.4.11
3622e7