aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <egil@erlang.org>2012-07-17 14:48:19 +0200
committerBjörn-Egil Dahlberg <egil@erlang.org>2012-07-19 20:22:54 +0200
commitdb6592b31877034b911fe070b346b7ef47ddbf91 (patch)
tree2b3d67ceab40b8683344541a166876493e9baf3d /lib/os_mon/src
parent520961ffa874987766426dec07f4248eeffd5786 (diff)
downloadotp-db6592b31877034b911fe070b346b7ef47ddbf91.tar.gz
otp-db6592b31877034b911fe070b346b7ef47ddbf91.tar.bz2
otp-db6592b31877034b911fe070b346b7ef47ddbf91.zip
os_mon: Remove VxWorks
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r--lib/os_mon/src/memsup.erl4
-rw-r--r--lib/os_mon/src/os_mon.erl2
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl
index 54771b4703..a1b8591c8c 100644
--- a/lib/os_mon/src/memsup.erl
+++ b/lib/os_mon/src/memsup.erl
@@ -185,7 +185,6 @@ init([]) ->
{unix, irix} -> true;
{unix, sunos} -> true;
{win32, _OSname} -> false;
- vxworks -> true;
_ ->
exit({unsupported_os, OS})
end,
@@ -617,8 +616,7 @@ code_change(Vsn, PrevState, "1.8") ->
{unix, openbsd} -> true;
{unix, netbsd} -> true;
{unix, sunos} -> true;
- {win32, _OSname} -> false;
- vxworks -> true
+ {win32, _OSname} -> false
end,
Pid = if
PortMode -> spawn_link(fun() -> port_init() end);
diff --git a/lib/os_mon/src/os_mon.erl b/lib/os_mon/src/os_mon.erl
index 2b6cd7c498..df1eccb064 100644
--- a/lib/os_mon/src/os_mon.erl
+++ b/lib/os_mon/src/os_mon.erl
@@ -177,8 +177,6 @@ services({unix, _}) -> % Other unix.
[cpu_sup, disksup, memsup];
services({win32, _}) ->
[disksup, memsup, os_sup, sysinfo];
-services(vxworks) ->
- [memsup];
services(_) ->
[].