gmon

Overview of gmon

Definition

gmon is a database (gmaster) process monitoring utility provided by GOLDILOCKS.

Features

gmon monitors whether database process (gmaster) is operated, and when the process is abnormally terminated, not by user's SHUTDOWN, then it executes gsyncher and terminates the process. It intends to reduce the loss of logs by executing gsyncher.

gmon can be set to be automatically operated by setting the server property GMON_AUTOSTART to 1, or a user can directly executes gmon.

A single gmaster process can monitor only one gmon process.

Usage

gmon [options]

Options

-s  --start        Start gmon
-t  --stop         Stop gmon
-u  --status       Get gmon status
-o  --home         gmaster home path
-l  --silent       Suppress display message 
-r  --no-copyright Suppress display copy right and version
-h  --help         Print help messages

Examples

$ gmon --start

gmon is started.
$ gmon --start --home g1n1_home

gmon is started.
$ gmon --start --home /g1n1_home

gmon is started.
$ gmon --status --home /g1n1_home

gmon is running(19119).
$ gmon --stop --home /g1n1_home

gmon is stopped.