From 8a67a66a613b85ab3c323594652da71b92915881 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 8 Oct 2004 14:36:51 +0000 Subject: 20467: Reintroduce rusage-based escapes for TIMEFMT. --- Doc/Zsh/params.yo | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index fd12b4f20..d9ab5c1f3 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -1047,14 +1047,34 @@ vindex(TIMEFMT) item(tt(TIMEFMT))( The format of process time reports with the tt(time) keyword. The default is `tt(%E real %U user %S system %P %J)'. -Recognizes the following escape sequences: +Recognizes the following escape sequences, although not all +may be available on all systems, and some that are available +may not be useful: startsitem() sitem(tt(%%))(A `tt(%)'.) sitem(tt(%U))(CPU seconds spent in user mode.) sitem(tt(%S))(CPU seconds spent in kernel mode.) sitem(tt(%E))(Elapsed time in seconds.) -sitem(tt(%P))(The CPU percentage, computed as (tt(%U)PLUS()tt(%S))/tt(%E).) +sitem(tt(%P))(The CPU percentage, computed as +(100*tt(%U)PLUS()tt(%S))/tt(%E).) +sitem(tt(%W))(Number of times the process was swapped.) +sitem(tt(%X))(The average amount in (shared) text space used in Kbytes.) +sitem(tt(%D))(The average amount in (unshared) data/stack space used in +Kbytes.) +sitem(tt(%K))(The total space used (%X+%D) in Kbytes.) +sitem(tt(%M))(The maximum memory the process had in use at any time in +Kbytes.) +sitem(tt(%F))(The number of major page faults (page needed to be brought +from disk).) +sitem(tt(%R))(The number of minor page faults.) +sitem(tt(%I))(The number of input operations.) +sitem(tt(%O))(The number of output operations.) +sitem(tt(%r))(The number of socket messages received.) +sitem(tt(%s))(The number of socket messages sent.) +sitem(tt(%k))(The number of signals received.) +sitem(tt(%w))(Number of voluntary context switches (waits).) +sitem(tt(%c))(Number of involuntary context switches.) sitem(tt(%J))(The name of this job.) endsitem() -- cgit 1.4.1