This document describes the changes made to the OS_Mon application.
Add NetBSD support to memsup and disksup (Thanks to Andrew Thompson)
Own Id: OTP-9216
Add support for DragonFlyBSD to memsup
DragonFly was partially supported by os_mon already but when trying to start the os_mon application it'd crash with an error about an unknown operating system in memsup. This patch changes memsup to use the FreeBSD sysctl method to get memory information when on DragonFly. (Thanks to Andrew Thompson )
Own Id: OTP-9217
Cleanups suggested by tidier and modernization of types and specs.
Own Id: OTP-8455
Memsup did not read memory correctly on MaxOSX Snowleopard. This has now been corrected. (Thanks to Joel Reymont)
Own Id: OTP-8211
Removed unused code in
Own Id: OTP-8226
The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.
Own Id: OTP-8201
A missing define in
Own Id: OTP-8094
disksup:get_disk_data/0 returned disk volume in bytes instead of kbytes as stated in the documentation. The problem occurred on Windows only and is now corrected.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-7741
An error in
Own Id: OTP-7944
Added support for dragonfly OS.
Own Id: OTP-7938
The copyright notices have been updated.
Own Id: OTP-7851
A problem with
In addition, a new function
Own Id: OTP-7441
An error in
Own Id: OTP-7558
Fixed a build error that occurred on NetBSD (Thanks to Per Hedeland and Raphael Langerhorst)
Own Id: OTP-7505
Memory information in
Own Id: OTP-7409 Aux Id: seq10984
System information retrieval on darwin platforms with
environments locales not conforming to the C locale
caused an error in
Own Id: OTP-7320
CPU utilization, on linux, is now measured via a port program instead of os:cmd in erlang. This should enhance performance.
Own Id: OTP-7108 Aux Id: OTP-6935
Extended memsup memory probing on linux to use a port program to probe memory usage. This is faster then the previous implementation.
Own Id: OTP-6860 Aux Id: seq10616
Minor Makefile changes.
Own Id: OTP-6689
When the
Own Id: OTP-6351 Aux Id: seq10517
Did not build on Mac OS X.
Added support for IRIX. (Thanks to Michel Urvoy and Daniel Solaz.)
Own Id: OTP-6136
Own Id: OTP-6153
In 2.0, a call to
Own Id: OTP-6029
A bug that in rare cases caused
Own Id: OTP-6102 Aux Id: seq10312
A note on backwards compatibility: The behaviour of OS_Mon 2.0 is backwards compatible under normal operation, but has changed somewhat in error situations: The services do not terminate and the API functions do not raise exceptions in all cases where they did before. Also, in the case where a service does terminate, the exit reason may be different. See below for details.
A call to a OS_Mon service (cpu_sup, disksup, ...) when OS_Mon is not running, or when the service is not available for the OS, or when the service is not started, will no longer result in an exception. Instead a warning is issued via error_logger and a dummy value is returned, which one is specified in the man pages for the respective service.
The reason is that it should not be necessary for a service to be started on each and every node of a distributed Erlang system for the OS-MON-MIB and other OS_Mon users to work properly.
Own Id: OTP-4332 Aux Id: seq7358
References to the obsolete EVA application in OTP-OS-MON-MIB has been removed.
Own Id: OTP-5699
Setting the option
Own Id: OTP-5890 Aux Id: seq10185
Own Id: OTP-5901
If the OS_Mon service
Own Id: OTP-5910
Thresholds and time intervals in
Own Id: OTP-4246 Aux Id: Seq7230
Own Id: OTP-5800 Aux Id: seq10130
The entire OS_Mon application (code and documentation) has been reviewed and consequently updated with the goal to make the application more robust, homogeneous and easier to configure.
The behaviour under normal operation is backwards
compatible. However, recoverable errors now no longer
terminate the affected service (and thus possible the
entire application), instead
Port handling has been unified, meaning that if a port
program sends garbage or unexpectedly dies, this is now
handled the same way by all OS_Mon services, namely
immediate process termination with the exit reason
Application configuration parameter handling has been
unified. Bad parameter values are no longer silently
ignored (
Message handling has been unified. Unknown
(
Own Id: OTP-5897
The following changes have been made to the
It is now available on Windows, using
On Solaris, enabling the service (that is, installing a
new configuration file for
Also,
Own Id: OTP-5925
The
Own Id: OTP-5927
Own Id: OTP-5869 Aux Id: seq10166
The memsup part of the OS_Mon application has been made
more stable. If there are (possibly temporary) problems
collecting memory data, the interface functions
(
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-5798
Corrected several problems in the error handling/error recovery (especially when OS_Mon is starting up).
Own Id: OTP-5559
The
The
Own Id: OTP-5421
Aux Id: OTP-5194, OTP-5228, OTP-5291
This version is identical with 1.7.