From xemacs-m  Mon Mar 24 17:05:33 1997
Received: from GS213.SP.CS.CMU.EDU (GS213.SP.CS.CMU.EDU [128.2.209.183])
	by xemacs.org (8.8.5/8.8.5) with SMTP id RAA20135
	for <xemacs-beta@xemacs.org>; Mon, 24 Mar 1997 17:05:32 -0600 (CST)
Received: by GS213.SP.CS.CMU.EDU (AIX 3.2/UCB 5.64/4.03)
          id AA43467; Mon, 24 Mar 1997 18:05:30 -0500
Date: Mon, 24 Mar 1997 18:05:30 -0500
Message-Id: <9703242305.AA43467@GS213.SP.CS.CMU.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Darrell Kindred <dkindred@cmu.edu>
To: xemacs-beta@xemacs.org
Subject: Re: xe19.15/perl5 setup
Organization: Carnegie Mellon University School of Computer Science
In-Reply-To: <kig913dos6o.fsf@jagor.srce.hr>
References: <9703241625.AA03530@ndsoft.com>
	<m22095kolo.fsf@altair.xemacs.org>
	<kigrah5qb3m.fsf@jagor.srce.hr>
	<QQcihr18210.199703242146@crystal.WonderWorks.COM>
	<kigd8spot4c.fsf@jagor.srce.hr>
	<QQcihs18503.199703242207@crystal.WonderWorks.COM>
	<kig913dos6o.fsf@jagor.srce.hr>
X-Mailer: VM 6.22 under 19.15 XEmacs Lucid (beta104)

Hrvoje Niksic writes:
 > Kyle Jones <kyle_jones@wonderworks.com> writes:
 > 
 > >  > And even better, do it only on systems that actually require special
 > >  > priviledges for `getloadavg'.
 > > No, this does not need to be configurable.  Do it the same way
 > > everywhere.
 > 
 > Then why not just parse the output of `uptime'?

This has the drawback that you do a fork/exec every time you
want to update your load average.  That's probably not such
a big deal these days, though.  I could go either way
(loadst or uptime)--I agree that we shouldn't be encouraging
anyone to make xemacs setgid-kmem.

Back in the days of `loadst', using `uptime' wasn't an
option because emacs had no timers, so it had to depend on
loadst to spit out the load every N seconds.

- Darrell

