On Tue, Jun 20, 2006 at 02:19:18PM -0500, Andy Bakun wrote: > On Wed, 2006-06-21 at 03:43 +0900, Denis Solovyov wrote: > > > But thanks for your suggestion, adding "nice" to my Google queries I > > could find the following utility (7 Kb perl script): > > http://www.sslug.dk/~chlor/niceload > > > > I'm not good in process managing as well as in perl scripting, would > > anyone consult if it is a good and reliable script?
I have taken a quick look at it and in my eyes it looks like a decent hack. But I am not a reference. One point I wish to make in this discussion is that load average includes more than pure CPU load (on most systems I've worked on anyway). It also takes other factors into account e.g. disk I/O rate. Using 'nice' is certainly the best way to make a process run only when CPU load is low, but if that process is a disk I/O hog, it will still impact the overall load average and compete with other processes making disk I/Os. Same goes for memory hogs and swapping induced disk I/O. So I can still see the point for such a script, that does a little bit more than 'nice' does. Greets, _Alain_ _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
