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