diff options
author | Wasif Malik and Johannes Huning <[email protected]> | 2014-11-28 17:50:10 +0100 |
---|---|---|
committer | Johannes Huning <[email protected]> | 2015-05-26 15:14:44 +0200 |
commit | f3a4db8368719fa31374c28ab35c2584add79bce (patch) | |
tree | 0d360a847b6a2e742f21c104b285aeea78b73705 /lib/os_mon/src | |
parent | 032f106a1ebdbf310dd430b2169f55967e1d1a92 (diff) | |
download | otp-f3a4db8368719fa31374c28ab35c2584add79bce.tar.gz otp-f3a4db8368719fa31374c28ab35c2584add79bce.tar.bz2 otp-f3a4db8368719fa31374c28ab35c2584add79bce.zip |
os_mon: Implement cpu_sup:util/0,1 for FreeBSD
Authors: Wasif Malik and Johannes Huning
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r-- | lib/os_mon/src/cpu_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/os_mon/src/cpu_sup.erl b/lib/os_mon/src/cpu_sup.erl index 0c26956c57..3d837431d8 100644 --- a/lib/os_mon/src/cpu_sup.erl +++ b/lib/os_mon/src/cpu_sup.erl @@ -160,7 +160,8 @@ handle_call(?quit, _From, State) -> handle_call({?util, D, PC}, {Client, _Tag}, #state{os_type = {unix, Flavor}} = State) when Flavor == sunos; - Flavor == linux -> + Flavor == linux; + Flavor == freebsd -> case measurement_server_call(State#state.server, {?util, D, PC, Client}) of {error, Reason} -> { reply, |