diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-09-16 20:19:51 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-09-16 20:19:51 +0000 |
commit | fece93f6bd7aed95bbd6edfb87765c3fcdbfedd5 (patch) | |
tree | 753510a45014ce84706fa2914051fe1c649cbf01 /bin/ps/keyword.c | |
parent | 939d493b8a013b9f890ed54d5f8df60c3bc01062 (diff) | |
download | FreeBSD-src-fece93f6bd7aed95bbd6edfb87765c3fcdbfedd5.zip FreeBSD-src-fece93f6bd7aed95bbd6edfb87765c3fcdbfedd5.tar.gz |
Perform keyword.c:1.27 properly, implement -orss in the New World Order of
ps(1) formatting, using pgtok() to get the value in K, rather than printing
it in pages. This is consistent with behaviour before keyword.c:1.26 (et al)
which exists in STABLE today, and which uses the same metric as VSZ.
Submitted by: bde
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r-- | bin/ps/keyword.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 53e9cde..ebaab5b 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -147,8 +147,7 @@ static VAR var[] = { UINT, UIDFMT, 0}, {"rgroup", "RGROUP", NULL, LJUST|DSIZ, rgroupname, s_rgroupname, USERLEN, 0, CHAR, NULL, 0}, - {"rss", "RSS", NULL, 0, kvar, NULL, 4, KOFF(ki_rssize), UINT, "d", - 0}, + {"rss", "RSS", NULL, 0, rss, NULL, 4, 0, CHAR, NULL, 0}, {"rtprio", "RTPRIO", NULL, 0, priorityr, NULL, 7, KOFF(ki_pri), CHAR, NULL, 0}, {"ruid", "RUID", NULL, 0, kvar, NULL, UIDLEN, KOFF(ki_ruid), |