summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCraig Small <csmall@users.sourceforge.net>2009-12-18 12:34:16 +0000
committerCraig Small <csmall@users.sourceforge.net>2009-12-18 12:34:16 +0000
commit2a163fd287d577e54c78bb8a7fc5aef0a5582882 (patch)
tree5e608368bd86e5e515ee70fb5cd3437cb79ce076 /doc
parent60ea57b6efcb3028474baf572f59e006964a0756 (diff)
more work on the o and y options for killall
Diffstat (limited to 'doc')
-rw-r--r--doc/killall.114
-rw-r--r--doc/pstree.15
2 files changed, 16 insertions, 3 deletions
diff --git a/doc/killall.1 b/doc/killall.1
index 61951fe..229905c 100644
--- a/doc/killall.1
+++ b/doc/killall.1
@@ -1,4 +1,4 @@
-.TH KILLALL 1 2007-08-09 "Linux" "User Commands"
+.TH KILLALL 1 2009-12-18 "Linux" "User Commands"
.SH NAME
killall \- kill processes by name
.SH SYNOPSIS
@@ -9,6 +9,8 @@ killall \- kill processes by name
.RB [ \-e , \-\-exact ]
.RB [ \-g , \-\-process\-group ]
.RB [ \-i , \-\-interactive ]
+.RB [ \-o , \-\-older\-than
+.IR TIME ]
.RB [ \-q , \-\-quiet ]
.RB [ \-r , \-\-regexp ]
.RB [ \-s , \-\-signal
@@ -17,6 +19,8 @@ killall \- kill processes by name
.IR user ]
.RB [ \-v , \-\-verbose ]
.RB [ \-w , \-\-wait ]
+.RB [ \-y , \-\-younger\-than
+.IR TIME ]
.RB [ \-I , \-\-ignore-case ]
.RB [ \-V, \-\-version ]
.RB [ \-\- ]
@@ -65,6 +69,10 @@ group were found.
Interactively ask for confirmation before killing.
.IP "\fB\-l\fP, \fB\-\-list\fP"
List all known signal names.
+.IP "\fB\-o\fP, \fB\-\-older\-than\fP"
+Match only processes that are older (started before) the time specified.
+The time is specified as a float then a unit. The units are s,m,h,d,w,M,y for
+seconds, minutes, hours, days, weeks, Months and years respectively.
.IP "\fB\-q\fP, \fB\-\-quiet\fP"
Do not complain if no processes were killed.
.IP "\fB\-r\fP, \fB\-\-regexp\fP"
@@ -82,6 +90,10 @@ Wait for all killed processes to die. \fBkillall\fP checks once per second if
any of the killed processes still exist and only returns if none are left.
Note that \fBkillall\fP may wait forever if the signal was ignored, had no
effect, or if the process stays in zombie state.
+.IP "\fB\-y\fP, \fB\-\-younger\-than\fP"
+Match only processes that are older (started after) the time specified.
+The time is specified as a float then a unit. The units are s,m,h,d,w,M,y for
+seconds, minutes, hours, days, weeks, Months and years respectively.
.IP "\fB\-Z\fP, \fB\-\-context\fP"
(SELinux Only) Specify security context: kill only processes having security
context that match with given expended regular expression pattern. Must precede
diff --git a/doc/pstree.1 b/doc/pstree.1
index d23ed95..0b572ba 100644
--- a/doc/pstree.1
+++ b/doc/pstree.1
@@ -1,4 +1,4 @@
-.TH PSTREE 1 2009-07-16 "Linux" "User Commands"
+.TH PSTREE 1 2009-12-16 "Linux" "User Commands"
.SH NAME
pstree \- display a tree of processes
.SH SYNOPSIS
@@ -57,7 +57,8 @@ has happened. This is useful for when \fBpstree\fR is run in a xterminal.
.SH OPTIONS
.IP \fB\-a\fP
Show command line arguments. If the command line of a process is swapped out,
-that process is shown in parentheses. \fB\-a\fP implicitly disables compaction.
+that process is shown in parentheses. \fB\-a\fP implicitly disables compaction
+for processes but not threads.
.IP \fB\-A\fP
Use ASCII characters to draw the tree.
.IP \fB\-c\fP