1- <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.54 2007/09/25 20:03:37 tgl Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.55 2007/11/28 15:42:31 petere Exp $ -->
22
33<chapter id="monitoring">
44 <title>Monitoring Database Activity</title>
@@ -236,7 +236,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
236236 <entry>One row only, showing cluster-wide statistics from the
237237 background writer: number of scheduled checkpoints, requested
238238 checkpoints, buffers written by checkpoints and cleaning scans,
239- and the number of times thebgwriter stopped a cleaning scan
239+ and the number of times thebackground writer stopped a cleaning scan
240240 because it had written too many buffers. Also includes
241241 statistics about the shared buffer pool, including buffers written
242242 by backends (that is, not by the background writer) and total buffers
@@ -777,7 +777,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
777777 <entry><literal><function>pg_stat_get_bgwriter_timed_checkpoints</function>()</literal></entry>
778778 <entry><type>bigint</type></entry>
779779 <entry>
780- The number of times thebgwriter has started timed checkpoints
780+ The number of times thebackground writer has started timed checkpoints
781781 (because the <varname>checkpoint_timeout</varname> time has expired)
782782 </entry>
783783 </row>
@@ -786,7 +786,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
786786 <entry><literal><function>pg_stat_get_bgwriter_requested_checkpoints</function>()</literal></entry>
787787 <entry><type>bigint</type></entry>
788788 <entry>
789- The number of times thebgwriter has started checkpoints based
789+ The number of times thebackground writer has started checkpoints based
790790 on requests from backends because the <varname>checkpoint_segments</varname>
791791 has been exceeded or because the <command>CHECKPOINT</command>
792792 command has been issued
@@ -797,15 +797,15 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
797797 <entry><literal><function>pg_stat_get_bgwriter_buf_written_checkpoints</function>()</literal></entry>
798798 <entry><type>bigint</type></entry>
799799 <entry>
800- The number of buffers written by thebgwriter during checkpoints
800+ The number of buffers written by thebackground writer during checkpoints
801801 </entry>
802802 </row>
803803
804804 <row>
805805 <entry><literal><function>pg_stat_get_bgwriter_buf_written_clean</function>()</literal></entry>
806806 <entry><type>bigint</type></entry>
807807 <entry>
808- The number of buffers written by thebgwriter for routine cleaning of
808+ The number of buffers written by thebackground writer for routine cleaning of
809809 dirty pages
810810 </entry>
811811 </row>
@@ -814,7 +814,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
814814 <entry><literal><function>pg_stat_get_bgwriter_maxwritten_clean</function>()</literal></entry>
815815 <entry><type>bigint</type></entry>
816816 <entry>
817- The number of times thebgwriter has stopped its cleaning scan because
817+ The number of times thebackground writer has stopped its cleaning scan because
818818 it has written more buffers than specified in the
819819 <varname>bgwriter_lru_maxpages</varname> parameter
820820 </entry>
@@ -1180,7 +1180,7 @@ provider postgresql {
11801180
11811181 <para>
11821182 You should take care that the data types specified for the probe arguments
1183- match thedatatypes of the variables used in the <literal>PG_TRACE</>
1183+ match thedata types of the variables used in the <literal>PG_TRACE</>
11841184 macro. This is not checked at compile time. You can check that your newly
11851185 added trace point is available by recompiling, then running the new binary,
11861186 and as root, executing a DTrace command such as: