aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorPiotr Pawel Stefaniak <pstef@FreeBSD.org>2020-06-27 19:09:33 +0000
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>2020-06-27 19:09:33 +0000
commit4f47f5111f820343df1510600605fe6bd0259571 (patch)
tree87615f629766a4927a8f6d4f2f7feb70e41d5704 /bin/ps/keyword.c
parent2dcf8c45934e4632a7d5780afc0058554245f1f1 (diff)
Notes
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index d1253dc9ea3ac..2a8382a2273e5 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -83,8 +83,7 @@ static VAR var[] = {
CHAR, NULL, 0},
{"cow", "COW", NULL, "copy-on-write-faults", 0, kvar, KOFF(ki_cow),
UINT, "u", 0},
- {"cpu", "CPU", NULL, "cpu-usage", 0, kvar, KOFF(ki_estcpu), UINT, "d",
- 0},
+ {"cpu", "C", NULL, "on-cpu", 0, cpunum, 0, CHAR, NULL, 0},
{"cputime", "", "time", NULL, 0, NULL, 0, CHAR, NULL, 0},
{"dsiz", "DSIZ", NULL, "data-size", 0, kvar, KOFF(ki_dsize), PGTOK,
"ld", 0},