Re: init - inittab , how to monitor process like on linux ?

From: terry tyson (beebum_at_gmail.com)
Date: 10/26/04

  • Next message: Darksidex: "mount_msdosfs"
    Date: Mon, 25 Oct 2004 22:26:11 -0500
    To: ADNET Ghislain <gadnet@aqueos.com>
    
    

    On Tue, 26 Oct 2004 04:45:13 +0200, ADNET Ghislain <gadnet@aqueos.com> wrote:
    > Hi,
    >
    > The init process can watch daemon and respawn died ones on linux with
    > simple configuration. I tried to reproduce this in my FreeBSD server. I
    > know this can be done also as the man page says:
    >
    > Init can also be used to keep arbitrary daemons running, automatically
    > restarting them if they die. In this case, the first field in the
    > ttys(5) file must not reference the path to a configured device
    > node and
    > will be passed to the daemon as the final argument on its command line.
    > This is similar to the facility offered in the AT&T System V UNIX
    > /etc/inittab.
    >
    > but no matter how i tweak the ttys file i cannot make it to work.
    >
    > Does any FreeeBSD guru can help me make the step from linux complete as
    > i cannot find help about this anywhere (the freeBSD admin book do not
    > speak of it and google is silent about freeBSD specific ttys "inittab
    > like" settings).
    >
    > A simple exemple will do the trick, basicaly i need this to keep spamd,
    > clamd running (with better and safer way than using a while 1 loop on
    > the shell).
    >
    > Best regards,
    > Ghislain.

    Best to post this to freebsd-questions.

    -- 
    Terry
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: Darksidex: "mount_msdosfs"

    Relevant Pages

    • Re: (Another) simple benchmark
      ... I'm NOT using PHP - it was mentioned as a reason threaded apache is not widely used. ... This performance is objectively low even by itself, without any comparison with other operating systems (such as linux). ... What I *am* doing now is looking for someone who has a 4 CPU or bigger machine idle on which he/she can replicate this simple benchmark (it really IS simple - you need apache20 port in default configuration - everything's included) and confirm or contradict my results. ... If it's Linux, FreeBSD 4, FreeBSD 6, Windows, Solaris, ...
      (freebsd-performance)
    • Re: book for 4.x and ver 5.x
      ... Knowing Linux well is a good thing and will prove to be useful under ... The boot-time kernel configuration file /boot/kernel.conf that you use ... The FreeBSD handbook and faq also tells you all about these, ... articles just by using any search-engine. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: mysql scaling questions
      ... Fire up the 3ware controller's RAID management software and make sure the same write caching strategy is set for FreeBSD and Linux. ... much slower we'll know there is some configuration problem or similar. ... MyISAM, of course. ...
      (freebsd-performance)
    • Re: FreeBSD MySQL still WAY slower than Linux
      ... > that although the configuration may not be optimal, ... Have you tested some more real-world queries on Linux vs. FreeBSD? ... SMP syncronisation is also much more expensive on ...
      (freebsd-performance)
    • init - inittab , how to monitor process like on linux ?
      ... The init process can watch daemon and respawn died ones on linux with ... simple configuration. ... I tried to reproduce this in my FreeBSD server. ... Does any FreeeBSD guru can help me make the step from linux complete as ...
      (freebsd-newbies)