diff options
author | dg <dg@FreeBSD.org> | 1994-09-01 11:28:45 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-09-01 11:28:45 +0000 |
commit | fa6393db5b0009bc3df5780d3e1fd5ff2a594654 (patch) | |
tree | 1ad9e0c8d10ff333df3a5e6c87b0478836a494ce /bin | |
parent | bf11780374594189c9edced7de74b6f52040ba8a (diff) | |
download | FreeBSD-src-fa6393db5b0009bc3df5780d3e1fd5ff2a594654.zip FreeBSD-src-fa6393db5b0009bc3df5780d3e1fd5ff2a594654.tar.gz |
Added rtprio option/field.
Submitted by: Henrik Vestergaard Draboel
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/keyword.c | 2 | ||||
-rw-r--r-- | bin/ps/ps.1 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index fb1133b..d69e0b7 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -136,6 +136,7 @@ VAR var[] = { {"rss", "RSS", NULL, 0, p_rssize, 4}, {"rssize", "", "rsz"}, {"rsz", "RSZ", NULL, 0, rssize, 4}, + {"rtprio", "RTPRIO", NULL, 0, pvar, 7, POFF(p_rtprio), LONG, "d"}, {"ruid", "RUID", NULL, 0, evar, UIDLEN, EOFF(e_pcred.p_ruid), ULONG, UIDFMT}, {"ruser", "RUSER", NULL, LJUST, runame, USERLEN}, @@ -223,6 +224,7 @@ VAR var[] = { {"rssize", "", "rsz"}, {"rsz", "RSZ", NULL, 0, rssize, 4}, {"ruid", "RUID", NULL, 0, pvar, UIDLEN, POFF(p_ruid), USHORT, UIDFMT}, + {"rtprio", "RTPRIO", NULL, 0, pvar, 7, POFF(p_rtprio), LONG, "d"}, {"ruser", "RUSER", NULL, LJUST, runame, USERLEN}, {"sess", "SESS", NULL, 0, evar, 6, EOFF(e_sess), KPTR, "x"}, {"sig", "PENDING", NULL, 0, pvar, 8, POFF(p_sig), LONG, "x"}, diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index 89b2c2e..c521311 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -414,6 +414,8 @@ reverse link on run queue, or 0 resident set size .It rsz resident set size + (text size / text use count) (alias rssize) +.It rtprio +realtime priority (101 = not a realtime process) .It ruid real user .Tn ID |