svn commit: r241158 - stable/9/bin/ps
Andrey Zonov
zont at FreeBSD.org
Wed Oct 3 11:56:02 UTC 2012
Author: zont
Date: Wed Oct 3 11:56:01 2012
New Revision: 241158
URL: http://svn.freebsd.org/changeset/base/241158
Log:
MFC r240645:
- Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively.
MFC r240649:
- Bump date.
Approved by: kib (mentor)
Modified:
stable/9/bin/ps/keyword.c
stable/9/bin/ps/ps.1
Directory Properties:
stable/9/bin/ps/ (props changed)
Modified: stable/9/bin/ps/keyword.c
==============================================================================
--- stable/9/bin/ps/keyword.c Wed Oct 3 10:06:48 2012 (r241157)
+++ stable/9/bin/ps/keyword.c Wed Oct 3 11:56:01 2012 (r241158)
@@ -79,6 +79,7 @@ static VAR var[] = {
{"cow", "COW", NULL, 0, kvar, KOFF(ki_cow), UINT, "u", 0},
{"cpu", "CPU", NULL, 0, kvar, KOFF(ki_estcpu), UINT, "d", 0},
{"cputime", "", "time", 0, NULL, 0, CHAR, NULL, 0},
+ {"dsiz", "DSIZ", NULL, 0, kvar, KOFF(ki_dsize), PGTOK, "ld", 0},
{"egid", "", "gid", 0, NULL, 0, CHAR, NULL, 0},
{"egroup", "", "group", 0, NULL, 0, CHAR, NULL, 0},
{"emul", "EMUL", NULL, LJUST, emulname, 0, CHAR, NULL, 0},
@@ -141,6 +142,7 @@ static VAR var[] = {
UINT, "x", 0},
{"sigmask", "BLOCKED", NULL, 0, kvar, KOFF(ki_sigmask), UINT, "x", 0},
{"sl", "SL", NULL, INF127, kvar, KOFF(ki_slptime), UINT, "d", 0},
+ {"ssiz", "SSIZ", NULL, 0, kvar, KOFF(ki_ssize), PGTOK, "ld", 0},
{"start", "STARTED", NULL, LJUST|USER, started, 0, CHAR, NULL, 0},
{"stat", "", "state", 0, NULL, 0, CHAR, NULL, 0},
{"state", "STAT", NULL, LJUST, state, 0, CHAR, NULL, 0},
Modified: stable/9/bin/ps/ps.1
==============================================================================
--- stable/9/bin/ps/ps.1 Wed Oct 3 10:06:48 2012 (r241157)
+++ stable/9/bin/ps/ps.1 Wed Oct 3 11:56:01 2012 (r241158)
@@ -29,7 +29,7 @@
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd May 20, 2012
+.Dd September 18, 2012
.Dt PS 1
.Os
.Sh NAME
@@ -496,6 +496,8 @@ command and arguments
number of copy-on-write faults
.It Cm cpu
short-term CPU usage factor (for scheduling)
+.It Cm dsiz
+data size (in Kbytes)
.It Cm emul
system-call emulation environment
.It Cm etime
@@ -606,6 +608,8 @@ blocked signals (alias
.Cm blocked )
.It Cm sl
sleep time (in seconds; 127 = infinity)
+.It Cm ssiz
+stack size (in Kbytes)
.It Cm start
time started
.It Cm state
More information about the svn-src-stable-9
mailing list