[PATCH] manpages: cleanup of chrt.1 and taskset.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: LaMont Jones <lamont@xxxxxxxxxxxx>
---
 schedutils/chrt.1    |    8 +++++++-
 schedutils/taskset.1 |   33 ++++++++++++++++++++++-----------
 2 files changed, 29 insertions(+), 12 deletions(-)

diff --git a/schedutils/chrt.1 b/schedutils/chrt.1
index 01f7650..dbc2958 100644
--- a/schedutils/chrt.1
+++ b/schedutils/chrt.1
@@ -30,7 +30,13 @@
 chrt \- manipulate real-time attributes of a process
 .SH SYNOPSIS
 .B chrt
-[\fIoptions\fR] [\fIprio\fR] [\fIpid\fR | \fIcommand\fR [\fIarg\fR]...]
+.RI [ options ]\  prio
+.IR command\  [ arg ]...
+.br
+.B chrt
+.RI [ options ]
+.B \-p
+.RI [ prio ]\  pid
 .SH DESCRIPTION
 .PP
 .BR chrt (1)
diff --git a/schedutils/taskset.1 b/schedutils/taskset.1
index dbf92e3..30e0e97 100644
--- a/schedutils/taskset.1
+++ b/schedutils/taskset.1
@@ -27,10 +27,16 @@
 .\"
 .TH TASKSET "1" "Apr 2003" "schedutils" "Linux User's Manual"
 .SH NAME
-taskset \- retrieve or set a processes's CPU affinity
+taskset \- retrieve or set a process's CPU affinity
 .SH SYNOPSIS
 .B taskset
-[\fIoptions\fR] [\fImask\fR | \fIlist\fI ] [\fIpid\fR | \fIcommand\fR [\fIarg\fR]...]
+.RI [ options ]\  mask
+.IR command\  [ arg ]...
+.br
+.B taskset
+.RI [ options ]
+.B \-p
+.RI [ mask ]\  pid
 .SH DESCRIPTION
 .PP
 .BR taskset
@@ -66,32 +72,37 @@ returns, it is guaranteed that the given program has been scheduled to a legal
 CPU.
 .SH OPTIONS
 .TP
-.B -p, --pid
+.BR \-p ,\  \-\-pid
 operate on an existing PID and not launch a new task
 .TP
-.B -c, --cpu-list
-specifiy a numerical list of processors instead of a bitmask.  The list may
+.BR \-c ,\  \-\-cpu-list
+specify a numerical list of processors instead of a bitmask.  The list may
 contain multiple items, separated by comma, and ranges.  For example,
 .BR 0,5,7,9-11 .
 .TP
-.B -h, --help
+.BR \-h ,\  \-\-help
 display usage information and exit
 .TP
-.B -V, --version
+.BR \-V ,\  \-\-version
 output version information and exit
 .SH USAGE
 .TP
 The default behavior is to run a new command with a given affinity mask:
-taskset [mask] [command] [arguments]
+.B taskset
+.I mask
+.B \-\-
+.IR command\  [ arguments ]
 .TP
 You can also retrieve the CPU affinity of an existing task:
-taskset -p [pid]
+.B taskset \-p
+.I pid
 .TP
 Or set it:
-taskset -p [mask] [pid]
+.B taskset \-p
+.I mask pid
 .SH PERMISSIONS
 A user must possess
-.BR CAP_SYS_NICE
+.B CAP_SYS_NICE
 to change the CPU affinity of a process.  Any user can retrieve the affinity
 mask.
 .SH AUTHOR
-- 
1.5.2.3

-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux