Subject: Re: Developing Unix services
To: Staffan Thomen <duck@multi.fi>
From: =?ISO-8859-1?Q?Florian_St=F6hr?= <netbsd@wolfnode.de>
List: netbsd-users
Date: 04/14/2004 15:46:30
On Wed, 14 Apr 2004, Staffan Thomen wrote:

> On Wed, 14 Apr 2004 09:30:22 +0200 (CEST)
> Florian St=F6hr <netbsd@wolfnode.de> wrote:
>
> > probably you should get Steven's book "Advanced Programming in the
> > UNIX Environment".
> >
> > Daemon programming ("service") is described here (well, the start/stop
> > scripts you have to write yourself, copy and modify any example that
> > comes with netbsd, found e.g. in /etc/rc.d).
> >
> > Stevens also takes a look at shared memory, pipes, ... I think this
> > one describes nearly everything one needs to know (well, except
> > sockets and threading).
> >
> > ISBN is 0-201-56317-7
>
> I might recommend reading UNP (Unix Network Programming), especially
> volume 2 (Interprocess Communications) by Stevens.
>
> UNP second edition
> ISBN 0-13-490012-X  Volume 1, Sockets and XTI
> ISBN 0-13-081081-9  Volume 2, IPC
>
> As for hardware monitoring, I unfortunately don't know much about it;
> I'd establish a logging device for the device drivers or somesuch.
>
> But for this, something like "The Design and Implementation of the
> 4.4BSD Operating System" could be useful :-)
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/
> (There's of course a book on this, but I don't have it)
>
> HTH,
>
> --
> Staffan Thom=E9n
>      GPG key: 1024D/7C7E2EF8
>  Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
>
>

Well, I have this "The design of the 4.4 BSD" book. Forget this one as a
programming howto, it does not contain any code. It's nice to read (to get
some knowledge how things are done), but DON'T misunderstand this as a
programmer's guide!

Florian