BB Unix Network Monitor - Message

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

{bb} process monitoring



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, I have just come across a small problem which isn't a bug as such,
but would be rather nice if there was a way around it.

I am running qmail on a server which in the bbproctab file (or whatever the
correct name is) I have put the following three procs to monitor:

supervise /var/lock/qmail-pop3d
supervise /var/lock/qmail-smtpd
supervise /var/lock/qmail qmail-start

and this monitors things fine, but as you can see, it is the options to the
program "supervise" that I need to check for to ensure that all 3 are
running. Unless there is an option to check for "supervise" running 3 times
exactly, any more and page, any less and page??

Anyway, the problem is that when the programs are not used for a really
long time, and the machine runs a little low on memory, then they get
swapped out, and when that happens, the output from "ps axww" gives the
following:

313 ?     SW    0:00 [supervise]
364 ?     SW    0:00 [supervise]
391 ?     SW    0:00 [supervise]

which doesn't match any longer.... does anyone know of a way around this??
ie, even when it is swapped out to find out the parameters passed to a
program??

Regards,
Adam Goryachev

Adam Goryachev
We Solve IT Pty Ltd
Ph:  +61 2 9345 4395                        info@wesolveit.com.au
Fax: +61 2 9345 4396                        http://www.wesolveit.com.au

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 Int. for non-commercial use
<http://www.pgpinternational.com>

iQA/AwUBOJRYXQGNJgXrV/C3EQKrYQCguwVTrzM8R/PC9PhhCPV0bMmMO/UAnRKQ
+y2ZI+orFr8xmARlqW3FHKbm
=R+W+
-----END PGP SIGNATURE-----

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index