View Source OS Monitoring Application
Description
The operating system monitor, OS_Mon, provides the following services:
cpu_sup
CPU load and utilization supervision (Unix)disksup
Disk supervision(Unix, Windows)memsup
Memory supervision (Unix, Windows)os_sup
Interface to OS system messages (Solaris, Windows)
To simplify usage of OS_Mon on distributed Erlang systems, it is not considered
an error trying to use a service at a node where it is not available (either
because OS_Mon is not running, or because the service is not available for that
OS, or because the service is not started). Instead, a warning message is issued
via error_logger
and a dummy value is returned, which one is specified in the
man pages for the respective services.
Configuration
When OS_Mon is started, by default all services available for the OS, except
os_sup
, are automatically started. This configuration can be changed using the
following application configuration parameters:
start_cpu_sup = bool()
- Specifies ifcpu_sup
should be started. Defaults totrue
.start_disksup = bool()
- Specifies ifdisksup
should be started. Defaults totrue
.start_memsup = bool()
- Specifies ifmemsup
should be started. Defaults totrue
.start_os_sup = bool()
- Specifies ifos_sup
should be started. Defaults tofalse
.
Configuration parameters effecting the different OS_Mon services are described in the respective man pages.
See config(4) for information about how to change the value of configuration parameters.