From 0c1eae04a9ae5fa796caa820a04cea0d40cb651e Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Sun, 7 Sep 2008 00:45:02 +0200 Subject: [PATCH] Clarify -p help text, and cosmetically add a terminating '.'. --- iotop.1 | 2 +- iotop/ui.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iotop.1 b/iotop.1 index 8713465..aafbf15 100644 --- a/iotop.1 +++ b/iotop.1 @@ -44,7 +44,7 @@ Set the delay between iterations in seconds (1 second by default). Accepts non-integer values such as 1.1 seconds. .TP \fB\-p\fR PID, \fB\-\-pid\fR=\fIPID\fR -A list of processes to monitor (all by default). +A list of processes/threads to monitor (all by default). .TP \fB\-u\fR USER, \fB\-\-user\fR=\fIUSER\fR A list of users to monitor (all by default) diff --git a/iotop/ui.py b/iotop/ui.py index 0831ef8..74f6291 100644 --- a/iotop/ui.py +++ b/iotop/ui.py @@ -215,7 +215,7 @@ period. SWAPIN and IO are the percentages of time the thread spent respectively while swapping in and waiting on I/O more generally. Controls: left and right arrows to change the sorting column, r to invert the sorting order, o to toggle the --only option, q to quit, any other key to force -a refresh''' % sys.argv[0] +a refresh.''' % sys.argv[0] def main(): locale.setlocale(locale.LC_ALL, '') @@ -232,7 +232,7 @@ def main(): help='delay between iterations [1 second]', metavar='SEC', default=1) parser.add_option('-p', '--pid', type='int', dest='pids', action='append', - help='processes to monitor [all]', metavar='PID') + help='processes/threads to monitor [all]', metavar='PID') parser.add_option('-u', '--user', type='str', dest='users', action='append', help='users to monitor [all]', metavar='USER') parser.add_option('-P', '--processes', action='store_true', -- 2.11.4.GIT