diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-05 02:05:24 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-05 02:05:24 +0000 |
commit | c2f44f7a3785e681e5e8c4421a2fec94b9f0b19b (patch) | |
tree | c60cfe670cda786b940e38ff311f7e446a0961dc /bin/ps/keyword.c | |
parent | 399bb45a093dd97599b667d0daa215883a27cb2a (diff) | |
download | FreeBSD-src-c2f44f7a3785e681e5e8c4421a2fec94b9f0b19b.zip FreeBSD-src-c2f44f7a3785e681e5e8c4421a2fec94b9f0b19b.tar.gz |
Support the 'comm' keyword, which is equivalent to our 'command', but
specified by SUSv3.
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r-- | bin/ps/keyword.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index a0a7882..f5724e0 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -87,6 +87,8 @@ static VAR var[] = { {"acflg", "", "acflag", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, {"blocked", "", "sigmask", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, {"caught", "", "sigcatch", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, + {"comm", "COMMAND", NULL, COMM|LJUST|USER, command, NULL, 16, 0, + CHAR, NULL, 0}, {"command", "COMMAND", NULL, COMM|LJUST|USER, command, NULL, 16, 0, CHAR, NULL, 0}, {"cpu", "CPU", NULL, 0, kvar, NULL, 3, KOFF(ki_estcpu), UINT, "d", |