summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-04-11 17:33:26 +0000
committerguenther <guenther@openbsd.org>2012-04-11 17:33:26 +0000
commitdfb1dca81f6381d73fd21a8266d3bc7dc6467363 (patch)
tree3726cdee4ad0e67465afec27200daa4d9eed9d56
parentMention and link the pthread barrier functions. Okay jmc@. (diff)
downloadwireguard-openbsd-dfb1dca81f6381d73fd21a8266d3bc7dc6467363.tar.xz
wireguard-openbsd-dfb1dca81f6381d73fd21a8266d3bc7dc6467363.zip
Add maxrss keyword for the ru_maxrss value...which ariane@ is making work
-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"},