Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!rice!sun-spots-request From: neil@group-id.co.uk (Neil Todd) Newsgroups: comp.sys.sun Subject: Inetd that understands load averages Keywords: Software Message-ID: <8380@brazos.Rice.edu> Date: 1 Jun 90 15:10:40 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 187, message 20 I am looking for an implementation of the inetd, for SunOS ideally, that understands the concept of system load averages. For example, I would like several services to cease to be available if the load average exceeds a certain value (e.g. nntp, spad, uucp, telnetd). I would like to offer a different version of a service if the system is heavily loaded - may be a shell script saying "go away, try later" Calls that are already connected should be uneffected. I would like to be able to tailor the max and min load averages on a per service basis. I know that most of this can be done by hacking lots of separate programs (nntpd, uucpd, spadd, etc, etc). But it would be nice to have a simple standard way of doing it. Neil Todd | ..In general, it is best to assume that the PSI%234237100122::neil | network is filled with malevolent entities neil@gid.co.uk | that will send in packets designed to have Group-ID Ltd | the worst possible effect...