ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



fixproc(1)                                        Net-SNMP                                        fixproc(1)



NAME
       fixproc - Fixes a process by performing the specified action.

SYNOPSIS
       fixproc [-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  data-base, database,
       base, which describes the default action to take for each process.  The database format and the mean-ing meaning
       ing of each action are described below.

OPTIONS
       -min n minimum number of processes that should be running, defaults to 1

       -max n maximum number of processes that should be running, defaults to 1

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

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

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

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

       -fix   check process against database  /local/etc/fixproc.conf.  Perform  defined  action,  if  check
              fails.



4.2 Berkeley Distribution                        16 Nov 2006                                      fixproc(1)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.