Skip to content

Commit

Permalink
Merge pull request #27 from uptimejp/fix/docs-pt-proc-stat
Browse files Browse the repository at this point in the history
Fix pt-proc-stat docs. (#16)
  • Loading branch information
snaga committed Jul 26, 2015
2 parents f08eb59 + e0b9707 commit 54820ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/pt-proc-stat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Specifies the directory of the database cluster.
``-P``, ``--pid``
Specifies the process ID of the postmaster process.

When both ``-D`` (or ``--pgdata``) and ``-P`` (or ``--pid``) are not specified, ``pt-proc-stat`` searches postmaster process(es) from all the running processes, and uses it to monitor.

If two or more postmaster processes are found, one of them will be picked at random to be monitored.

Output Items
------------

Expand Down
4 changes: 4 additions & 0 deletions docs/ja/pt-proc-stat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ pt-proc-stat

``-P``, ``--pid`` オプションは、PostmasterプロセスのプロセスIDを指定します。

``-D`` (または ``--pgdata`` ), ``-P`` (または ``--pid`` )のいずれも指定しなかった場合は、全プロセスの中からPostmasterプロセスを探して、そのプロセスIDを対象とします。

複数のPostmasterプロセスが見つかった場合には、(プロセスIDの大小とは無関係に)そのうちの1つのみを対象とします。

出力項目
--------

Expand Down

0 comments on commit 54820ce

Please sign in to comment.