summaryrefslogtreecommitdiff
path: root/src/weatherreport/src/weatherreport_check_process_memory.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/weatherreport/src/weatherreport_check_process_memory.erl')
-rw-r--r--src/weatherreport/src/weatherreport_check_process_memory.erl13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/weatherreport/src/weatherreport_check_process_memory.erl b/src/weatherreport/src/weatherreport_check_process_memory.erl
index 2f766cdfe..4c7b2c76f 100644
--- a/src/weatherreport/src/weatherreport_check_process_memory.erl
+++ b/src/weatherreport/src/weatherreport_check_process_memory.erl
@@ -26,10 +26,12 @@
-module(weatherreport_check_process_memory).
-behaviour(weatherreport_check).
--export([description/0,
- valid/0,
- check/1,
- format/1]).
+-export([
+ description/0,
+ valid/0,
+ check/1,
+ format/1
+]).
-define(THRESHOLD, 104857600).
@@ -46,7 +48,8 @@ check(Opts) ->
weatherreport_util:check_proc_count(
memory,
?THRESHOLD,
- Opts).
+ Opts
+ ).
-spec format(term()) -> {io:format(), [term()]}.
format({high, {Pid, Memory, Info, Pinfo}}) ->