monitor v0.1.1 Monitor.Impl

Link to this section Summary

Link to this section Functions

Link to this function

cpu()

cpu() :: %{
  cpu_rup_load_15_mins: float(),
  cpu_rup_load_1_min: float(),
  cpu_rup_load_5_mins: float(),
  cpu_usage_pct: number() | {:error, any()}
}
Link to this function

mem()

mem() :: %{
  allocated: number(),
  pct_used: float(),
  total: number(),
  worst_pid: any()
}
Link to this function

num_unix_procs()

num_unix_procs() :: %{num_unix_procs: integer() | {:error, any()}}
Link to this function

sys_mem()

sys_mem() :: %{pct_free: float(), pct_used: float(), system_pct_free: float()}