~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to debian/manpages/fixproc.1

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH fixproc "1" "July 2005" "fixproc" "User Commands"
2
 
.SH NAME
3
 
fixproc - Fixes a process by performing the specified action.
4
 
.SH SYNOPSIS
5
 
.PP
6
 
.B fixproc
7
 
[\fI\-min n\fR]
8
 
[\fI\-max n\fR]
9
 
[\fI\-check | \-kill | \-restart | \-exist | \-fix\fR]
10
 
proc \.\.\.
11
 
.SH DESCRIPTION
12
 
.PP
13
 
Fixes a process named "proc" by performing the specified action.  The
14
 
actions can be check, kill, restart, exist, or fix.  The action is specified
15
 
on the command line or is read from a default database, which describes
16
 
the default action to take for each process.  The database format and
17
 
the meaning of each action are described below.
18
 
.SH OPTIONS
19
 
.TP
20
 
.B \-min n
21
 
minimum number of processes that should be running, defaults to 1
22
 
.TP
23
 
.B \-max n
24
 
maximum number of processes that should be running, defaults to 1
25
 
.TP
26
 
.B \-check
27
 
check process against database /local/etc/fixproc.conf.
28
 
.TP
29
 
.B \-kill
30
 
kill process, wait 5 seconds, kill -9 if still exist
31
 
.TP
32
 
.B \-restart
33
 
kill process, wait 5 seconds, kill -9 if still exist, then start again
34
 
.TP
35
 
.B \-exist
36
 
checks if proc exists in ps && (min <= num. of processes <= max)
37
 
.TP
38
 
.B \-fix
39
 
check process against database /local/etc/fixproc.conf. Perform defined
40
 
action, if check fails.