summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.1
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-03-17 11:25:32 +0000
committerkib <kib@FreeBSD.org>2011-03-17 11:25:32 +0000
commit425e556ac9cfcee7074d9eae8e246690de567ea7 (patch)
treed85b94710406af532df69f8fe797bc215a6ec248 /bin/ps/ps.1
parent329130799d270217d976d559253a838c169cd221 (diff)
downloadFreeBSD-src-425e556ac9cfcee7074d9eae8e246690de567ea7.zip
FreeBSD-src-425e556ac9cfcee7074d9eae8e246690de567ea7.tar.gz
Implement the usertime and systime keywords for ps, printing the
corresponding times reported by getrusage(). Submitted by: Dan Nelson <dnelson allantgroup com> MFC after: 1 week
Diffstat (limited to 'bin/ps/ps.1')
-rw-r--r--bin/ps/ps.110
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index 5ae7c54..d6b4653 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd March 5, 2011
+.Dd March 16, 2011
.Dt PS 1
.Os
.Sh NAME
@@ -205,8 +205,8 @@ Display information about processes which match the specified process IDs.
Sort by current CPU usage, instead of the combination of controlling
terminal and process ID.
.It Fl S
-Change the way the process time is calculated by summing all exited
-children to their parent process.
+Change the way the process times, namely cputime, systime, and usertime,
+are calculated by summing all exited children to their parent process.
.It Fl T
Display information about processes attached to the device associated
with the standard input.
@@ -596,6 +596,8 @@ symbolic process state (alias
saved gid from a setgid executable
.It Cm svuid
saved UID from a setuid executable
+.It Cm systime
+accumulated system CPU time
.It Cm tdaddr
thread address
.It Cm tdev
@@ -626,6 +628,8 @@ scheduling priority on return from system call (alias
.Cm usrpri )
.It Cm user
user name (from UID)
+.It Cm usertime
+accumulated user CPU time
.It Cm vsz
virtual size in Kbytes (alias
.Cm vsize )
OpenPOWER on IntegriCloud