diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-06 20:21:47 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-06 20:21:47 +0000 |
commit | 562b4c02507bd0c452d9229307892f9c41a9c555 (patch) | |
tree | a33b2f0e02aa1848f1243fb6999d497353ba27cd /bin/ps/keyword.c | |
parent | e5b172f462d498835247f250a9e0a4b975c7681d (diff) | |
download | FreeBSD-src-562b4c02507bd0c452d9229307892f9c41a9c555.zip FreeBSD-src-562b4c02507bd0c452d9229307892f9c41a9c555.tar.gz |
SUSv3 conform on the "comm" and "args" formats, and make correct the "command"
format, since it's BSDlike, and "comm" is actually different.
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r-- | bin/ps/keyword.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 729a7c4..b54cb43 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -85,12 +85,14 @@ static VAR var[] = { {"acflag", "ACFLG", NULL, 0, kvar, NULL, 3, KOFF(ki_acflag), USHORT, "x", 0}, {"acflg", "", "acflag", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, + {"args", "COMMAND", NULL, COMM|LJUST|USER, arguments, NULL, 16, 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, + {"comm", "COMMAND", NULL, LJUST, ucomm, NULL, MAXCOMLEN, 0, CHAR, + NULL, 0}, + {"command", "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", 0}, {"cputime", "", "time", 0, NULL, NULL, 0, 0, CHAR, NULL, 0}, |