summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-04-11 17:33:27 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-04-11 17:33:27 +0000
commit0f2946279b77bcbe64f67880384533e1af166c81 (patch)
treea4b989b3e889311ff13de80f936c8645d4cab471 /bin
parent472b1fb95926103c3abd4c05f7e1a8426eb55f30 (diff)
Add maxrss keyword for the ru_maxrss value...which ariane@ is making work
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/keyword.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 0b15a83e6bd..21eac632377 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.36 2012/04/04 16:13:11 jsing Exp $ */
+/* $OpenBSD: keyword.c,v 1.37 2012/04/11 17:33:26 guenther Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -118,6 +118,7 @@ VAR var[] = {
{"lstart", "STARTED", NULL, LJUST|USER, lstarted, 28},
{"majflt", "MAJFLT", NULL, USER, pvar, 4, 0, POFF(p_uru_majflt), UINT64, "lld"},
{"minflt", "MINFLT", NULL, USER, pvar, 4, 0, POFF(p_uru_minflt), UINT64, "lld"},
+ {"maxrss", "MAXRSS", NULL, USER, pvar, 4, 0, POFF(p_uru_maxrss), UINT64, "lld"},
{"msgrcv", "MSGRCV", NULL, USER, pvar, 4, 0, POFF(p_uru_msgrcv), UINT64, "lld"},
{"msgsnd", "MSGSND", NULL, USER, pvar, 4, 0, POFF(p_uru_msgsnd), UINT64, "lld"},
{"ni", "", "nice"},