diff options
author | jmallett <jmallett@FreeBSD.org> | 2010-03-17 22:57:58 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2010-03-17 22:57:58 +0000 |
commit | d27802f97a217c556ca63d8df9ebc1b6d15ccd19 (patch) | |
tree | 231aea4c64247be505190e35fe0e7ae410703755 /bin/ps/keyword.c | |
parent | b55593dee5f64317be6472d0338098432211dbe4 (diff) | |
download | FreeBSD-src-d27802f97a217c556ca63d8df9ebc1b6d15ccd19.zip FreeBSD-src-d27802f97a217c556ca63d8df9ebc1b6d15ccd19.tar.gz |
o) Add a keyword to displaying elapsed time in integer seconds, "etimes".
o) Give slightly better (i.e. any) documentation of the format of "etime".
Reviewed by: jilles
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r-- | bin/ps/keyword.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 4524d99..237b579 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -89,6 +89,7 @@ static VAR var[] = { {"emul", "EMUL", NULL, LJUST, emulname, NULL, EMULLEN, 0, CHAR, NULL, 0}, {"etime", "ELAPSED", NULL, USER, elapsed, NULL, 12, 0, CHAR, NULL, 0}, + {"etimes", "ELAPSED", NULL, USER, elapseds, NULL, 12, 0, CHAR, NULL, 0}, {"f", "F", NULL, 0, kvar, NULL, 7, KOFF(ki_flag), INT, "x", 0}, {"flags", "", "f", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, {"ignored", "", "sigignore", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, |