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

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