Manual Pages for UNIX Darwin command on man fixproc
MyWebUniversity

Manual Pages for UNIX Darwin command on man fixproc

fixproc(1) Net-SNMP fixproc(1)

NAME

fixproc - Fixes a process by performing the specified action.

SYNOPSIS

ffiixxpprroocc [-min n] [-max n] [-check | -kill | -restart | -exist | -fix]

proc ...

DESCRIPTION

Fixes a process named "proc" by performing the specified action. The actions can be check, kill, restart, exist, or fix. The action is specified on the command line or is read from a default database, which describes the default action to take for each process. The database format and the meaning of each action are described below. OOPPTTIIOONNSS

-mmiinn nn minimum number of processes that should be running, defaults to

1

-mmaaxx nn maximum number of processes that should be running, defaults to

1

-cchheecckk check process against database /local/etc/fixproc.conf.

-kkiillll kill process, wait 5 seconds, kill -9 if still exist

-rreessttaarrtt

kill process, wait 5 seconds, kill -9 if still exist, then start

again

-eexxiisstt checks if proc exists in ps && (min <= num. of processes <= max)

-ffiixx check process against database /local/etc/fixproc.conf. Perform

defined action, if check fails.

4.2 Berkeley Distribution 16 Nov 2006 fixproc(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™