<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/doc/src, branch maint-r13</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update release notes</title>
<updated>2010-02-19T13:31:36+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2010-02-19T11:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=745b99ab510ed85ce7ff4b77c83f6c501b24c5cc'/>
<id>745b99ab510ed85ce7ff4b77c83f6c501b24c5cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'bd/doc-fixes' into ccase/r13b04_dev</title>
<updated>2010-02-12T12:09:50+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-02-12T12:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9518eafc5ee2edd67e97c56e36807beba8f766ed'/>
<id>9518eafc5ee2edd67e97c56e36807beba8f766ed</id>
<content type='text'>
* bd/doc-fixes:
  Fix minor documentation errors
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bd/doc-fixes:
  Fix minor documentation errors
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'jn/supervisor_child_count_only' into ccase/r13b04_dev</title>
<updated>2010-02-12T09:33:53+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-02-12T09:33:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=61489ddbe608e1fe7bd2301c55c6446f14e94cd9'/>
<id>61489ddbe608e1fe7bd2301c55c6446f14e94cd9</id>
<content type='text'>
* jn/supervisor_child_count_only:
  Add count_children/1 to supervisor.erl to determine the number of

OTP-8436  Added supervisor:count_children/1 to count the number of children
          being managed without the memory impact of which_children/1.
          (Thanks to Jay Nelson.)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* jn/supervisor_child_count_only:
  Add count_children/1 to supervisor.erl to determine the number of

OTP-8436  Added supervisor:count_children/1 to count the number of children
          being managed without the memory impact of which_children/1.
          (Thanks to Jay Nelson.)</pre>
</div>
</content>
</entry>
<entry>
<title>Add count_children/1 to supervisor.erl to determine the number of</title>
<updated>2010-02-10T16:14:28+00:00</updated>
<author>
<name>Jay Nelson</name>
<email>jay@duomark.com</email>
</author>
<published>2010-01-25T19:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1686757b304b66050f54db8e0ce5ab758bde96af'/>
<id>1686757b304b66050f54db8e0ce5ab758bde96af</id>
<content type='text'>
children being managed without the memory impact of which_children/1

The function which_children/1 returns a list of the child processes
currently being supervised, but it has the penalty of creating a new
list thereby consuming more memory.  In low memory situations it is
often desirable to know which supervisor may have generated many
processes, but the act of discovering the culprit should not cause the
node to crash (or worse a different node if the kernel kills one
randomly).  The new function count_children/1 can give an indication
of which supervisor is taxing resources the most without adding to the
burden.  Rather than creating a new list, it walks the supervisor's
internal children structure using an accumulator function so that any
used memory can be incrementally collected yet the resulting count can
still be obtained.

The return result of count_children/1 is a property list of counts
containing:
  - {specs, Total_Num_Child_Specs}
  - {active, Num_Active_Child_Processes_Of_Supervisor_Or_Worker_Type}
  - {supervisors, Num_Supervisor_Type_Children_Including_Dead_Processes}
  - {workers, Num_Worker_Type_Children_Including_Dead_Processes}

This patch was made in response to mailing list discussions of the
problem diagnosing heavily taxed production systems.  I cannot find
the original request, but http://www.erlang.org/cgi-bin/ezmlm-cgi/4/35060
is my original post of the patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
children being managed without the memory impact of which_children/1

The function which_children/1 returns a list of the child processes
currently being supervised, but it has the penalty of creating a new
list thereby consuming more memory.  In low memory situations it is
often desirable to know which supervisor may have generated many
processes, but the act of discovering the culprit should not cause the
node to crash (or worse a different node if the kernel kills one
randomly).  The new function count_children/1 can give an indication
of which supervisor is taxing resources the most without adding to the
burden.  Rather than creating a new list, it walks the supervisor's
internal children structure using an accumulator function so that any
used memory can be incrementally collected yet the resulting count can
still be obtained.

The return result of count_children/1 is a property list of counts
containing:
  - {specs, Total_Num_Child_Specs}
  - {active, Num_Active_Child_Processes_Of_Supervisor_Or_Worker_Type}
  - {supervisors, Num_Supervisor_Type_Children_Including_Dead_Processes}
  - {workers, Num_Worker_Type_Children_Including_Dead_Processes}

This patch was made in response to mailing list discussions of the
problem diagnosing heavily taxed production systems.  I cannot find
the original request, but http://www.erlang.org/cgi-bin/ezmlm-cgi/4/35060
is my original post of the patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8418  user.erl (used in oldshell) is updated to handle unicode in</title>
<updated>2010-02-10T15:47:09+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2010-02-10T15:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=64a697339414f424073c5b021285fddb0ff2d9da'/>
<id>64a697339414f424073c5b021285fddb0ff2d9da</id>
<content type='text'>
          prompt strings (io:get_line/{1,2}). io_lib is also updated to
          format prompts with the 't' modifier (i.e. ~ts instead of ~s).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
          prompt strings (io:get_line/{1,2}). io_lib is also updated to
          format prompts with the 't' modifier (i.e. ~ts instead of ~s).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor documentation errors</title>
<updated>2010-02-09T23:52:21+00:00</updated>
<author>
<name>Bernard Duggan</name>
<email>bernie@m5net.com</email>
</author>
<published>2010-02-09T23:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3cb8a8707d89ce77251061f8a5fe31528ba322e8'/>
<id>3cb8a8707d89ce77251061f8a5fe31528ba322e8</id>
<content type='text'>
Fix three minor typos and reorder one of a pair of lists of functions so that
the ordering is consistent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix three minor typos and reorder one of a pair of lists of functions so that
the ordering is consistent.
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8393  The new function shell:prompt_func/1 and the new application</title>
<updated>2010-02-05T08:41:18+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2010-02-05T08:41:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0949cc8ed1de57e3388cf22a83bc147bce2b3e0f'/>
<id>0949cc8ed1de57e3388cf22a83bc147bce2b3e0f</id>
<content type='text'>
          configuration parameter shell_prompt_func can be used for
          customizing the Erlang shell prompt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
          configuration parameter shell_prompt_func can be used for
          customizing the Erlang shell prompt.
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8404: Doc: some corrections and improvements in STDLIB</title>
<updated>2010-02-05T08:33:57+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2010-02-05T08:33:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e5d4b0bddc75eda1ad3445d7164171c0a6e8bbf6'/>
<id>e5d4b0bddc75eda1ad3445d7164171c0a6e8bbf6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP-8343  The documentation is now possible to build in an open source</title>
<updated>2010-01-26T17:55:11+00:00</updated>
<author>
<name>Lars G Thorsen</name>
<email>lars@erlang.org</email>
</author>
<published>2010-01-26T10:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=df88b47cdafcc2e04452456942ea572a7b72e2f2'/>
<id>df88b47cdafcc2e04452456942ea572a7b72e2f2</id>
<content type='text'>
          environment after a number of bugs are fixed and some features
          are added in the documentation build process.

          - The arity calculation is updated.

          - The module prefix used in the function names for bif's are
            removed in the generated links so the links will look like

            http://www.erlang.org/doc/man/erlang.html#append_element-2

            instead of

            http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2

          - Enhanced the menu positioning in the html documentation when a
            new page is loaded.
          - A number of corrections in the generation of man pages (thanks
            to Sergei Golovan)
          - Moved some man pages to more apropriate sections, pages in
            section 4 moved to 5 and pages in 6 moved to 7.
          - The legal notice is taken from the xml book file so OTP's
            build process can be used for non OTP applications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
          environment after a number of bugs are fixed and some features
          are added in the documentation build process.

          - The arity calculation is updated.

          - The module prefix used in the function names for bif's are
            removed in the generated links so the links will look like

            http://www.erlang.org/doc/man/erlang.html#append_element-2

            instead of

            http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2

          - Enhanced the menu positioning in the html documentation when a
            new page is loaded.
          - A number of corrections in the generation of man pages (thanks
            to Sergei Golovan)
          - Moved some man pages to more apropriate sections, pages in
            section 4 moved to 5 and pages in 6 moved to 7.
          - The legal notice is taken from the xml book file so OTP's
            build process can be used for non OTP applications.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sv/sys_get_status' into ccase/r13b04_dev</title>
<updated>2009-12-04T09:32:50+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2009-12-04T09:32:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b1821b0f692deb93b9cae69ca9a1a591f5530474'/>
<id>b1821b0f692deb93b9cae69ca9a1a591f5530474</id>
<content type='text'>
* sv/sys_get_status:
  Teach sys:get_status/1,2 to call Mod:format_status/2
  gen_fsm: Fix format_status/2 to handle Pids

OTP-8324  The ability for the gen_server and gen_fsm callback modules to
          format their own state for display under the sys:get_status/1,2
          calls has been restored and documented. (Thanks to Steve
          Vinoski.)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sv/sys_get_status:
  Teach sys:get_status/1,2 to call Mod:format_status/2
  gen_fsm: Fix format_status/2 to handle Pids

OTP-8324  The ability for the gen_server and gen_fsm callback modules to
          format their own state for display under the sys:get_status/1,2
          calls has been restored and documented. (Thanks to Steve
          Vinoski.)</pre>
</div>
</content>
</entry>
</feed>
