<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- OS_Mon Release Notes</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/os_mon-2.2.10.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>OS_Mon</strong><br><strong>Release Notes</strong><br><small>Version 2.2.10</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"><li id="loadscrollpos" title="OS_Mon Release Notes" expanded="true">OS_Mon Release Notes<ul> <li><a href="notes.html"> Top of chapter </a></li> <li title="Os_Mon 2.2.10"><a href="notes.html#id60654">Os_Mon 2.2.10</a></li> <li title="Os_Mon 2.2.9"><a href="notes.html#id60694">Os_Mon 2.2.9</a></li> <li title="Os_Mon 2.2.8"><a href="notes.html#id57924">Os_Mon 2.2.8</a></li> <li title="Os_Mon 2.2.7"><a href="notes.html#id57981">Os_Mon 2.2.7</a></li> <li title="Os_Mon 2.2.6"><a href="notes.html#id58180">Os_Mon 2.2.6</a></li> <li title="Os_Mon 2.2.5"><a href="notes.html#id58226">Os_Mon 2.2.5</a></li> <li title="Os_Mon 2.2.4"><a href="notes.html#id58255">Os_Mon 2.2.4</a></li> <li title="Os_Mon 2.2.3"><a href="notes.html#id57343">Os_Mon 2.2.3</a></li> <li title="Os_Mon 2.2.2"><a href="notes.html#id57377">Os_Mon 2.2.2</a></li> <li title="Os_Mon 2.2.1"><a href="notes.html#id57412">Os_Mon 2.2.1</a></li> <li title="Os_Mon 2.2"><a href="notes.html#id57474">Os_Mon 2.2</a></li> <li title="Os_Mon 2.1.8"><a href="notes.html#id64247">Os_Mon 2.1.8</a></li> <li title="Os_Mon 2.1.7"><a href="notes.html#id64307">Os_Mon 2.1.7</a></li> <li title="Os_Mon 2.1.6"><a href="notes.html#id64365">Os_Mon 2.1.6</a></li> <li title="Os_Mon 2.1.5"><a href="notes.html#id64400">Os_Mon 2.1.5</a></li> <li title="Os_Mon 2.1.3"><a href="notes.html#id56431">Os_Mon 2.1.3</a></li> <li title="Os_Mon 2.1.2.1"><a href="notes.html#id56463">Os_Mon 2.1.2.1</a></li> <li title="OS_Mon 2.1.2"><a href="notes.html#id56496">OS_Mon 2.1.2</a></li> <li title="OS_Mon 2.1.1"><a href="notes.html#id56543">OS_Mon 2.1.1</a></li> <li title="Os_Mon 2.1"><a href="notes.html#id56618">Os_Mon 2.1</a></li> <li title="OS_Mon 2.0"><a href="notes.html#id56683">OS_Mon 2.0</a></li> <li title="OS_Mon 1.8.1"><a href="notes.html#id60177">OS_Mon 1.8.1</a></li> <li title="OS_Mon 1.8"><a href="notes.html#id60216">OS_Mon 1.8</a></li> <li title="OS_Mon 1.7.4"><a href="notes.html#id60263">OS_Mon 1.7.4</a></li> <li title="OS_Mon 1.7.3"><a href="notes.html#id60296">OS_Mon 1.7.3</a></li> <li title="OS_Mon 1.7.2"><a href="notes.html#id60358">OS_Mon 1.7.2</a></li> </ul> </li></ul> </div></div> <div id="content"> <div class="innertube"> <h1>1 OS_Mon Release Notes</h1> <p>This document describes the changes made to the OS_Mon application.</p> <h3><a name="id60654">1.1 Os_Mon 2.2.10</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Infinity timeout added to internal calls in disksup to allow it to work properly under very heavy load.</p> <p> Own Id: OTP-10100</p> </li> <li> <p>Clarify error messages from os_mon port programs</p> <p> Own Id: OTP-10161</p> </li> </ul> <h3><a name="id60694">1.2 Os_Mon 2.2.9</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Fix segmentation fault in memsup</p> <p> when /proc/meminfo does not include information about buffers/cache (for instance inside OpenVZ container) (Thanks to Anton Vorobev)</p> <p> Own Id: OTP-9913</p> </li> </ul> <h3><a name="id57924">1.3 Os_Mon 2.2.8</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>Erlang/OTP can now be built using parallel make if you limit the number of jobs, for instance using '<span class="code">make -j6</span>' or '<span class="code">make -j10</span>'. '<span class="code">make -j</span>' does not work at the moment because of some missing dependencies.</p> <p> Own Id: OTP-9451</p> </li> <li> <p> Tuple funs (a two-element tuple with a module name and a function) are now officially deprecated and will be removed in R16. Use '<span class="code">fun M:F/A</span>' instead. To make you aware that your system uses tuple funs, the very first time a tuple fun is applied, a warning will be sent to the error logger.</p> <p> Own Id: OTP-9649</p> </li> </ul> <h3><a name="id57981">1.4 Os_Mon 2.2.7</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Remove misc. compiler warnings</p> <p> Own Id: OTP-9542</p> </li> </ul> <h3><a name="id58180">1.5 Os_Mon 2.2.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Add NetBSD support to memsup and disksup (Thanks to Andrew Thompson)</p> <p> Own Id: OTP-9216</p> </li> <li> <p> Add support for DragonFlyBSD to memsup</p> <p> 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 )</p> <p> Own Id: OTP-9217</p> </li> </ul> <h3><a name="id58226">1.6 Os_Mon 2.2.5</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p> Cleanups suggested by tidier and modernization of types and specs.</p> <p> Own Id: OTP-8455</p> </li> </ul> <h3><a name="id58255">1.7 Os_Mon 2.2.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Memsup did not read memory correctly on MaxOSX Snowleopard. This has now been corrected. (Thanks to Joel Reymont)</p> <p> Own Id: OTP-8211</p> </li> <li> <p> Removed unused code in <span class="code">cpu_sup.erl</span>.</p> <p> Own Id: OTP-8226</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p> 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.</p> <p> Own Id: OTP-8201</p> </li> </ul> <h3><a name="id57343">1.8 Os_Mon 2.2.3</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> A missing define in <span class="code">memsup.c</span> caused a build error on IRIX machines. This has now been fixed.</p> <p> Own Id: OTP-8094</p> </li> </ul> <h3><a name="id57377">1.9 Os_Mon 2.2.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> 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.</p> <p> *** POTENTIAL INCOMPATIBILITY ***</p> <p> Own Id: OTP-7741</p> </li> </ul> <h3><a name="id57412">1.10 Os_Mon 2.2.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>An error in <span class="code">memsup</span> could cause <span class="code">os_mon</span> to report erroneous memory values on windows for ranges of memory between 2GB and 4GB. This have now been fixed.</p> <p> Own Id: OTP-7944</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Added support for dragonfly OS.</p> <p> Own Id: OTP-7938</p> </li> </ul> <h3><a name="id57474">1.11 Os_Mon 2.2</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>The copyright notices have been updated.</p> <p> Own Id: OTP-7851</p> </li> </ul> <h3><a name="id64247">1.12 Os_Mon 2.1.8</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>A problem with <span class="code">OTP-OS-MON-MIB.mib</span> for 64-bit environments has now been fixed. The mib has been extended with 64-bit memory retrieval counterparts.</p> <p>In addition, a new function <span class="code">get_os_wordsize/0</span> has been added in the <span class="code">memsup</span> module</p> <p> Own Id: OTP-7441</p> </li> <li> <p>An error in <span class="code">memsup.c</span> caused the compilation to crash on bsd environments. This has now been fixed.</p> <p> Own Id: OTP-7558</p> </li> </ul> <h3><a name="id64307">1.13 Os_Mon 2.1.7</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Fixed a build error that occurred on NetBSD (Thanks to Per Hedeland and Raphael Langerhorst)</p> <p> Own Id: OTP-7505</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p> Memory information in <span class="code">memsup:get_system_memory_data/0</span> now has additional entries in its property list for linux.</p> <p> Own Id: OTP-7409 Aux Id: seq10984 </p> </li> </ul> <h3><a name="id64365">1.14 Os_Mon 2.1.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> System information retrieval on darwin platforms with environments locales not conforming to the C locale caused an error in <span class="code">cpu_sup</span> resulting in process termination.</p> <p> Own Id: OTP-7320</p> </li> </ul> <h3><a name="id64400">1.15 Os_Mon 2.1.5</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p> CPU utilization, on linux, is now measured via a port program instead of os:cmd in erlang. This should enhance performance.</p> <p> Own Id: OTP-7108 Aux Id: OTP-6935 </p> </li> </ul> <h3><a name="id56431">1.16 Os_Mon 2.1.3</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p> Extended memsup memory probing on linux to use a port program to probe memory usage. This is faster then the previous implementation.</p> <p> Own Id: OTP-6860 Aux Id: seq10616 </p> </li> </ul> <h3><a name="id56463">1.17 Os_Mon 2.1.2.1</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>Minor Makefile changes.</p> <p>Own Id: OTP-6689</p> </li> </ul> <h3><a name="id56496">1.18 OS_Mon 2.1.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>When the <span class="code">memsup_system_only</span> flag was set to <span class="code">true</span>, a <span class="code">badmatch</span> exception occurred in the function <span class="code">os_mon_mib:get_load/1</span>.</p> <p>Own Id: OTP-6351 Aux Id: seq10517</p> </li> </ul> <h3><a name="id56543">1.19 OS_Mon 2.1.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Did not build on Mac OS X.</p> <p>Added support for IRIX. (Thanks to Michel Urvoy and Daniel Solaz.)</p> <p>Own Id: OTP-6136</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p><span class="code">disksup</span>: Now using <span class="code">round(T*100)</span> instead of <span class="code">trunc(T*100)</span> when setting the threshold value given a float <span class="code">T</span>.</p> <p>Own Id: OTP-6153</p> </li> </ul> <h3><a name="id56618">1.20 Os_Mon 2.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>In 2.0, a call to <span class="code">alarm_handler:get_alarms/0</span> was introduced in <span class="code">memsup</span> and <span class="code">disksup</span>. This will lead to problems if the default <span class="code">alarm_handler</span> event handler is not used, however, and the call has now been removed. (Thanks to Serge Aleynikov for pointing this out.)</p> <p>Own Id: OTP-6029</p> </li> <li> <p>A bug that in rare cases caused <span class="code">cpu_sup</span> to crash has been corrected.</p> <p>Own Id: OTP-6102 Aux Id: seq10312 </p> </li> </ul> <h3><a name="id56683">1.21 OS_Mon 2.0</a></h3> <p>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.</p> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>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.</p> <p>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.</p> <p>Own Id: OTP-4332 Aux Id: seq7358 </p> </li> <li> <p>References to the obsolete EVA application in OTP-OS-MON-MIB has been removed.</p> <p>Own Id: OTP-5699</p> </li> <li> <p>Setting the option <span class="code">memsup_system_only</span> to <span class="code">true</span> did not work, but would crash the <span class="code">memsup</span> process.</p> <p>Own Id: OTP-5890 Aux Id: seq10185 </p> </li> <li> <p><span class="code">cpu_sup:nprocs/0</span> returned 0 on FreeBsd.</p> <p>Own Id: OTP-5901</p> </li> <li> <p>If the OS_Mon service <span class="code">disksup</span> or <span class="code">memsup</span> was restarted, the same alarm could be set twice. Also, set alarms were not cleared when the application was stopped.</p> <p>Own Id: OTP-5910</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Thresholds and time intervals in <span class="code">disksup</span> and <span class="code">memsup</span> are now configurable in run-time.</p> <p>Own Id: OTP-4246 Aux Id: Seq7230 </p> </li> <li> <p><span class="code">memsup</span> can now handle systems with more than 4GB of RAM.</p> <p>Own Id: OTP-5800 Aux Id: seq10130 </p> </li> <li> <p>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.</p> <p>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 <span class="code">error_logger</span> is used to warn the user if/when such errors occurs. Also, in the case of unrecoverable errors, the services have been made more homogeneous with respect to behavior and exit reasons. See below for more information and refer to the man pages for details.</p> <p>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 <span class="code">{port_error,Garbage}</span> or <span class="code">{port_died,Reason}</span>, respectively.</p> <p>Application configuration parameter handling has been unified. Bad parameter values are no longer silently ignored (<span class="code">disksup</span>) or cause application termination (<span class="code">memsup</span>, <span class="code">os_sup</span>). Instead a warning is issued and the default value for the parameter is used. Also, some cases where a bad parameter value accidentally could be accepted have been corrected.</p> <p>Message handling has been unified. Unknown (<span class="code">gen_server-</span>) calls cause process termination, whereas unknown casts and messages are now ignored by all OS_Mon services.</p> <p>Own Id: OTP-5897</p> </li> <li> <p>The following changes have been made to the <span class="code">os_sup</span> service:</p> <p>It is now available on Windows, using <span class="code">nteventlog</span> as backend.</p> <p>On Solaris, enabling the service (that is, installing a new configuration file for <span class="code">syslogd</span> etc.) can now be done outside the <span class="code">os_sup</span> process. The reason for this is that the Erlang emulator should normally not be run with <span class="code">root</span> privileges, as is otherwise required. The new application configuration parameter <span class="code">os_sup_config</span> must be set to <span class="code">false</span>.</p> <p>Also, <span class="code">os_sup</span> can now be configured using a new configuration parameter <span class="code">os_sup_mfa</span> to call an arbitrary Erlang function when a message is received from the OS.</p> <p>Own Id: OTP-5925</p> </li> <li> <p>The <span class="code">memsup</span> service has been rewritten, replacing the supervised <span class="code">memsup_helper</span> with a linked help process. This gives the <span class="code">memsup</span> process more control and prevents a situation where it gets out of synch with the received memory data and thus possibly returns erroneous results.</p> <p>Own Id: OTP-5927</p> </li> </ul> <h3><a name="id60177">1.22 OS_Mon 1.8.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p><span class="code">cpu_sup:util/0</span> failed with error reason <span class="code">negative_diff</span> when called the first time on a machine (hw) that had been up for a very long time.</p> <p>Own Id: OTP-5869 Aux Id: seq10166</p> </li> </ul> <h3><a name="id60216">1.23 OS_Mon 1.8</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>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 (<span class="code">get_memory_data/0</span>, <span class="code">get_system_memory_data/0</span>) now do not fail, but return the previously collected value, if any, or a dummy value otherwise. Also, a warning message is printed.</p> <p>*** POTENTIAL INCOMPATIBILITY ***</p> <p>Own Id: OTP-5798</p> </li> </ul> <h3><a name="id60263">1.24 OS_Mon 1.7.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Corrected several problems in the error handling/error recovery (especially when OS_Mon is starting up).</p> <p>Own Id: OTP-5559</p> </li> </ul> <h3><a name="id60296">1.25 OS_Mon 1.7.3</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p><span class="code">memsup.c</span> will now compile on OpenBSD. (Thanks to Geoff White and Jay Nelson.)</p> <p>The <span class="code">disksup</span> and <span class="code">cpu_sup</span> modules now work on Mac OS X (tested on Mac OS 10.3.8).</p> <p>The <span class="code">memsup</span> module should now work on Linux 2.6.* as well as on older Linuxes. (<span class="code">/proc/meminfo</span> has slightly different formats in different releases of Linux.)</p> <p>Own Id: OTP-5421 <br> Aux Id: OTP-5194, OTP-5228, OTP-5291 </p> </li> </ul> <h3><a name="id60358">1.26 OS_Mon 1.7.2</a></h3> <p>This version is identical with 1.7.</p> </div> <div class="footer"> <hr> <p>Copyright © 1997-2012 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>