Subject: Re: Developing Unix services
To: Brian Rose <lists@brianrose.net>
From: Staffan Thomen <duck@multi.fi>
List: netbsd-users
Date: 04/14/2004 16:36:34
--Signature=_Wed__14_Apr_2004_16_36_34_+0300_5s2V0K17+9Ue9bY.
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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".
>=20
> 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).
>=20
> 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).
>=20
> 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,

--=20
Staffan Thom=E9n
     GPG key: 1024D/7C7E2EF8
 Fingerprint: ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8


--Signature=_Wed__14_Apr_2004_16_36_34_+0300_5s2V0K17+9Ue9bY.
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (IRIX64)

iQCVAwUBQH0+ZIH2nSIAw34fAQGUSQQAgLIBDwYFDX2uC6vsYThFwYJhzed03M99
hqYxeg32oQRpfTHPjEPmrvRkhYCAEeVpJp6zjZp80MmMxbhrSPgTwyGZzlCjBDLR
6S2MnhtcDt9d0rh059iK9z+kPvnRDbjQxbrxnnCaZ8TCTWiP9ORPSOVS63sSmN4x
DIiZAbxlUjc=
=XEV6
-----END PGP SIGNATURE-----

--Signature=_Wed__14_Apr_2004_16_36_34_+0300_5s2V0K17+9Ue9bY.--