aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src/memsup.erl
diff options
context:
space:
mode:
authorAndrew Thompson <[email protected]>2011-04-03 21:32:02 -0400
committerAndrew Thompson <[email protected]>2011-04-03 21:32:02 -0400
commitca1223e5b5c8b25e92fef0d97a6a12abad8ccd71 (patch)
treea845afe0d3a1bda479597f71fc1738fef1b30fde /lib/os_mon/src/memsup.erl
parent745c4af40595c8b029c2d61ddbe22c6d12950236 (diff)
downloadotp-ca1223e5b5c8b25e92fef0d97a6a12abad8ccd71.tar.gz
otp-ca1223e5b5c8b25e92fef0d97a6a12abad8ccd71.tar.bz2
otp-ca1223e5b5c8b25e92fef0d97a6a12abad8ccd71.zip
Add NetBSD support to memsup and disksup
Diffstat (limited to 'lib/os_mon/src/memsup.erl')
-rw-r--r--lib/os_mon/src/memsup.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl
index 822e1f939c..8ed5e2d595 100644
--- a/lib/os_mon/src/memsup.erl
+++ b/lib/os_mon/src/memsup.erl
@@ -179,6 +179,7 @@ init([]) ->
% Linux supports this.
{unix, linux} -> true;
{unix, openbsd} -> true;
+ {unix, netbsd} -> true;
{unix, irix64} -> true;
{unix, irix} -> true;
{unix, sunos} -> true;
@@ -612,6 +613,7 @@ code_change(Vsn, PrevState, "1.8") ->
{unix, freebsd} -> false;
{unix, linux} -> false;
{unix, openbsd} -> true;
+ {unix, netbsd} -> true;
{unix, sunos} -> true;
{win32, _OSname} -> false;
vxworks -> true