You are here: Home > CLI Commands > Just_CLI_Topics > process monitor

process monitor

process monitor log|restart|

Description

The process monitor validates the integrity of processes every 120 seconds. If a process does not respond during three consecutive 120-second timeout intervals, that process is flagged as nonresponsive and the process monitor will create a log message, restart the process or reboot the managed device.

Syntax

Parameter

Description

log

The process monitor creates a log message when a process fails to responding properly. This is the default behavior for the process monitor

restart

This parameter enables strict behavior for runtime processes.

When you enable this option, the process monitor will restart processes that fail to responding properly.

Usage Guidelines

The CLICommand-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command process monitor log enables logging for process monitoring. By default, whenever a process does not update a required file or send a heartbeat pulse within the required time limit, the process monitor records a critical log message, but does not restart any process. If you want the configure watchdog to restart a process once it fails to respond, use the CLICommand-Line Interface. A console interface with a command line shell that allows users to execute text input as commands and convert these commands to appropriate functions. command process monitor restart.

Example

The following changes the default process monitor behavior, so the process monitor restarts nonresponsive processes.

(host)[mynode] #process monitor restart

Related Commands

The show process monitor statistics command displays the current status of all the processes running under the process monitor watchdog. A partial example of the output of this command is shown below:

(host) (config) #show process monitor statistics

 

Process Monitor Statistics

--------------------------

Name State Restarts Timeout Value Timeout Chances

---- ----- -------- ------------- ---------------

/mswitch/bin/arci-cli-helper PROCESS_RUNNING 0 120 3

/mswitch/bin/fpcli PROCESS_RUNNING 0 120 3

/mswitch/bin/packet_filter PROCESS_RUNNING 0 120 3

/mswitch/bin/certmgr PROCESS_RUNNING 0 120 3

/mswitch/bin/dbstart PROCESS_RUNNING 0 120 3

/mswitch/bin/cryptoPOST PROCESS_RUNNING 0 120 3

/mswitch/bin/sbConsoled PROCESS_RUNNING 0 120 3

/mswitch/bin/pubsub PROCESS_RUNNING 0 120 3

/mswitch/bin/cfgm PROCESS_RUNNING 0 120 3

/mswitch/bin/syslogdwrap PROCESS_RUNNING 0 120 3

/mswitch/bin/aaa PROCESS_RUNNING 0 120 3

/mswitch/bin/fpapps PROCESS_RUNNING 0 120 3

/mswitch/bin/pim PROCESS_RUNNING 0 120 3

/mswitch/bin/lic

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

Config mode on Mobility Master.

/*]]>*/