Copyright © (C) 2019-2022, Maxim Fedorov
Behaviours: gen_server.
monitor_sample() = #{time => integer(), sched_util => float(), dcpu => float(), dio => float(), processes => integer(), ports => integer(), ets => integer(), memory_total => non_neg_integer(), memory_processes => non_neg_integer(), memory_binary => non_neg_integer(), memory_ets => non_neg_integer(), jobs => [{Job::pid(), Cycles::non_neg_integer()}]}
handle_call/3 | |
handle_cast/2 | |
handle_info/2 | |
init/1 | |
register/3 | Registers job to monitor (ignoring failures, as monitor may not be running). |
start/0 | Starts the server (unlinked, not supervised, used only for isolated BEAM runs). |
start_link/0 | Starts the server. |
handle_call(Request, From, State) -> any()
handle_cast(X1, State) -> any()
handle_info(X1, State) -> any()
init(X1) -> any()
register(Job::pid(), Handle::term(), Initial::non_neg_integer()) -> ok
Registers job to monitor (ignoring failures, as monitor may not be running).
start() -> {ok, Pid::pid()} | {error, Reason::term()}
Starts the server (unlinked, not supervised, used only for isolated BEAM runs)
start_link() -> {ok, Pid::pid()} | {error, Reason::term()}
Starts the server
Generated by EDoc