ps: add times & cputimes format specifiers: cumulative CPU time in seconds

These format specifiers are to time & cputime what etimes is to etime.

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>

References:
 procps-ng/procps!43
This commit is contained in:
Sébastien Bigaret
2017-03-11 07:40:19 +01:00
committed by Craig Small
parent 39cd65c798
commit 5329984b2e
3 changed files with 32 additions and 0 deletions

10
ps/ps.1
View File

@@ -1192,6 +1192,11 @@ cumulative CPU time, "[DD\-]hh:mm:ss" format. (alias
.BR time ).
T}
cputimes TIME T{
cumulative CPU time in seconds (alias
.BR times ).
T}
drs DRS T{
data resident set size, the amount of physical memory devoted to other than
executable code.
@@ -1726,6 +1731,11 @@ cumulative CPU\ time, "[DD\-]HH:MM:SS" format. (alias
.BR cputime ).
T}
times TIME T{
cumulative CPU\ time in seconds (alias
.BR cputimes ).
T}
tname TTY T{
controlling tty (terminal). (alias
.BR tt , \ tty ).