man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

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




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 database, which describes the default  action
     to take for each process.  The database format and the mean-
     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  pro-
          cesses <= max)

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



ATTRIBUTES
     See  attributes(5)  for  descriptions   of   the   following
     attributes:








V5.4.1               Last change: 16 Nov 2006                   1






Net-SNMP                                               fixproc(1)



     +---------------+-----------------------------------------------+
     |ATTRIBUTE TYPE |               ATTRIBUTE VALUE                 |
     +---------------+-----------------------------------------------+
     |Availability   | system/management/snmp/net-snmp/documentation |
     +---------------+-----------------------------------------------+
     |Stability      | Volatile                                      |
     +---------------+-----------------------------------------------+
NOTES
     This   software   was   built   from   source  available  at
     https://java.net/projects/solaris-userland.   The   original
     community       source       was       downloaded       from
     http://ftp.ntua.gr/mirror/net-snmp/OldFiles/net-
     snmp-5.4.x/5.4.1/net-snmp-5.4.1.tar.gz

     Further  information about this software can be found on the
     open source community website at http://www.net-snmp.org/.







































V5.4.1               Last change: 16 Nov 2006                   2