monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Monit startup script


From: ABOKHALAF, Nassri Abdellatif
Subject: RE: Monit startup script
Date: Wed, 12 Mar 2003 12:49:13 -0000

Hello Martin,


thank you for your reply.

my ps -elf output

address@hidden root]# ps -elf
  F S UID        PID  PPID  C PRI  NI ADDR    SZ WCHAN  STIME TTY          TIME 
CMD
100 S root         1     0  0  75   0    -   334 schedu Feb28 ?        00:00:05 
init
040 S root         2     1  0  75   0    -     0 contex Feb28 ?        00:00:00 
[keventd]
040 S root         3     1  0  75   0    -     0 schedu Feb28 ?        00:00:00 
[kapmd]
040 S root         4     1  0  94  19    -     0 ksofti Feb28 ?        00:00:00 
[ksoftirqd_CPU0]
040 S root         5     1  0  75   0    -     0 schedu Feb28 ?        00:00:07 
[kswapd]
040 S root         6     1  0  85   0    -     0 bdflus Feb28 ?        00:00:00 
[bdflush]
040 S root         7     1  0  75   0    -     0 schedu Feb28 ?        00:01:39 
[kupdated]
040 S root         8     1  0  85   0    -     0 md_thr Feb28 ?        00:00:00 
[mdrecoveryd]
040 S root        11     1  0  75   0    -     0 schedu Feb28 ?        00:00:00 
[kreiserfsd]
040 S root        67     1  0  76   0    -     0 end    Feb28 ?        00:00:00 
[khubd]
040 S root       416     1  0  75   0    -     0 schedu Feb28 ?        00:00:00 
[eth0]
040 S root       485     1  0  75   0    -     0 schedu Feb28 ?        00:00:00 
[eth1]
140 S root       542     1  0  75   0    -   350 schedu Feb28 ?        00:00:07 
syslogd -m 0
140 S root       546     1  0  75   0    -   334 do_sys Feb28 ?        00:00:00 
klogd -x
140 S root       598     1  0  75   0    -   819 schedu Feb28 ?        00:01:45 
/usr/sbin/sshd
140 S ntp        621     1  0  75   0    -   479 schedu Feb28 ?        00:00:00 
ntpd -U ntp -g
040 S root       630     1  0  75   0    -   380 schedu Feb28 ?        00:00:00 
crond
140 S #-1        644     1  0  78   0    -   381 schedu Feb28 ?        00:00:00 
/usr/local/nagios/nrpe/src/nrpe -d /usr/local/
100 S root       645     1  0  75   0    -   338 schedu Feb28 ?        00:00:00 
svscan /service
000 S root       649   645  0  75   0    -   328 schedu Feb28 ?        00:00:00 
supervise qmail-smtpd
000 S root       650   645  0  75   0    -   328 schedu Feb28 ?        00:00:00 
supervise log
100 S root       651   645  0  75   0    -   328 schedu Feb28 ?        00:00:00 
supervise qmail-send
000 S root       652   645  0  75   0    -   328 schedu Feb28 ?        00:00:00 
supervise log
100 S qmaild     653   649  0  75   0    -   344 schedu Feb28 ?        00:00:06 
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc
100 S qmails     654   651  0  75   0    -   342 schedu Feb28 ?        00:00:39 
qmail-send
100 S qmaill     655   652  0  75   0    -   332 pipe_w Feb28 ?        00:00:03 
/usr/local/bin/multilog t /var/log/qmail
100 S qmaill     658   650  0  75   0    -   332 pipe_w Feb28 ?        00:00:04 
/usr/local/bin/multilog t /var/log/qmail/smtpd
100 S root       674     1  0  76   0    -   329 schedu Feb28 tty1     00:00:00 
/sbin/mingetty tty1
100 S root       675     1  0  76   0    -   329 schedu Feb28 tty2     00:00:00 
/sbin/mingetty tty2
100 S root       676     1  0  76   0    -   329 schedu Feb28 tty3     00:00:00 
/sbin/mingetty tty3
100 S root       677     1  0  76   0    -   329 schedu Feb28 tty4     00:00:00 
/sbin/mingetty tty4
100 S root       678     1  0  76   0    -   329 schedu Feb28 tty5     00:00:00 
/sbin/mingetty tty5
100 S root       679     1  0  76   0    -   329 schedu Feb28 tty6     00:00:00 
/sbin/mingetty tty6
000 S root       682   654  0  75   0    -   332 schedu Feb28 ?        00:00:00 
qmail-lspawn ./Mailbox
100 S qmailr     683   654  0  75   0    -   332 schedu Feb28 ?        00:00:07 
qmail-rspawn
100 S qmailq     684   654  0  75   0    -   330 pipe_w Feb28 ?        00:00:06 
qmail-clean
040 S root      4108     1  0  75   0    -  2786 schedu Mar11 ?        00:00:29 
/usr/local/bin/monit -v -c /root/nass.monitrc
040 S named     4958     1  0  78   0    -  3205 rt_sig Mar11 ?        00:00:29 
named -u named
040 S root      8613   598  0  75   0    -  1676 schedu 12:27 ?        00:00:00 
/usr/sbin/sshd
100 S root      8615  8613  0  75   0    -  1053 wait4  12:27 pts/0    00:00:00 
-bash
100 R root      8659  8615  0  76   0    -   799 -      12:27 pts/0    00:00:00 
ps -elf

As you see only one named process running.

If i do ps -elf in the other machine with monit 3.0 installed i get 

address@hidden root]# ps -elf
  F S UID        PID  PPID  C PRI  NI ADDR    SZ WCHAN  STIME TTY          TIME 
CMD
100 S root         1     0  0  75   0    -   342 schedu  2002 ?        00:00:04 
init
040 S root         2     1  0  75   0    -     0 contex  2002 ?        00:00:00 
[keventd]
040 S root         3     1  0  75   0    -     0 schedu  2002 ?        00:00:00 
[kapmd]
040 S root         4     1  0  94  19    -     0 ksofti  2002 ?        00:00:00 
[ksoftirqd_CPU0]
040 S root         5     1  0  75   0    -     0 schedu  2002 ?        00:00:00 
[kswapd]
040 S root         6     1  0  85   0    -     0 bdflus  2002 ?        00:00:00 
[bdflush]
040 S root         7     1  0  75   0    -     0 schedu  2002 ?        00:00:00 
[kupdated]
040 S root         8     1  0  85   0    -     0 md_thr  2002 ?        00:00:00 
[mdrecoveryd]
040 S root        12     1  0  75   0    -     0 end     2002 ?        00:00:00 
[kjournald]
040 S root        91     1  0  76   0    -     0 end     2002 ?        00:00:00 
[khubd]
040 S root       186     1  0  75   0    -     0 end     2002 ?        00:00:00 
[kjournald]
040 S root       187     1  0  75   0    -     0 end     2002 ?        00:00:00 
[kjournald]
040 S root       188     1  0  75   0    -     0 end     2002 ?        00:00:00 
[kjournald]
040 S root       189     1  0  75   0    -     0 end     2002 ?        00:00:00 
[kjournald]
040 S root       190     1  0  75   0    -     0 end     2002 ?        00:00:11 
[kjournald]
040 S root       472     1  0  75   0    -     0 schedu  2002 ?        00:00:00 
[eth0]
040 S root       543     1  0  75   0    -   357 schedu  2002 ?        00:00:19 
syslogd -m 0
140 S root       548     1  0  75   0    -   341 do_sys  2002 ?        00:00:00 
klogd -x
140 S root       682     1  0  75   0    -   656 schedu  2002 ?        00:06:25 
/usr/sbin/sshd
040 S root       702     1  0  75   0    -   549 rt_sig  2002 ?        00:00:00 
xinetd -stayalive -reuse -pidfile /var/run/xin
040 S root       720     1  0  75   0    -   386 schedu  2002 ?        00:00:01 
crond
040 S daemon     756     1  0  75   0    -   351 schedu  2002 ?        00:00:00 
/usr/sbin/atd
100 S root       774     1  0  75   0    -   336 schedu  2002 tty1     00:00:00 
/sbin/mingetty tty1
100 S root       775     1  0  75   0    -   336 schedu  2002 tty2     00:00:00 
/sbin/mingetty tty2
100 S root       776     1  0  75   0    -   336 schedu  2002 tty3     00:00:00 
/sbin/mingetty tty3
100 S root       777     1  0  75   0    -   336 schedu  2002 tty4     00:00:00 
/sbin/mingetty tty4
100 S root       778     1  0  75   0    -   336 schedu  2002 tty5     00:00:00 
/sbin/mingetty tty5
100 S root       779     1  0  75   0    -   336 schedu  2002 tty6     00:00:00 
/sbin/mingetty tty6
140 S root     24460     1  0  76   0    -  2498 schedu Mar11 ?        00:00:23 
/usr/bin/monit -c /root/nass.monitrc
040 S root     24465 24460  0  75   0    -  2498 schedu Mar11 ?        00:00:00 
/usr/bin/monit -c /root/nass.monitrc
140 S root     24466 24465  0  75   0    -  2498 schedu Mar11 ?        00:00:00 
/usr/bin/monit -c /root/nass.monitrc
040 S named    24692     1  0  79   0    -  3323 rt_sig Mar11 ?        00:00:00 
named -u named
040 S named    24694 24692  0  75   0    -  3323 schedu Mar11 ?        00:00:00 
named -u named
140 S named    24695 24694  0  75   0    -  3323 rt_sig Mar11 ?        00:00:20 
named -u named
040 S named    24696 24694  0  75   0    -  3323 schedu Mar11 ?        00:00:00 
named -u named
040 S named    24697 24694  0  75   0    -  3323 schedu Mar11 ?        00:00:01 
named -u named
040 S root     25865   682  0  75   0    -   863 schedu 12:24 ?        00:00:00 
/usr/sbin/sshd
100 S root     25866 25865  0  75   0    -   634 wait4  12:24 pts/0    00:00:00 
-bash
000 R root     25911 25866  0  76   0    -   761 -      12:24 pts/0    00:00:00 
ps -elf



hope this may bring some light.


thank you in advance

nassri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]