Xref: utzoo biz.sco.general:36 comp.unix.sysv386:8137 gnu.emacs.help:2063 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!mcnc!rock.concert.net!robertsr From: robertsr@cs.unca.edu (Ralph Roberts) Newsgroups: biz.sco.general,comp.unix.sysv386,gnu.emacs.help Subject: Re: Load average for Emacs on SCO Unix 3.2.2? Message-ID: <1991May17.002535.27223@rock.concert.net> Date: 17 May 91 00:25:35 GMT References: Sender: news@rock.concert.net Organization: University of North Carolina at Asheville Lines: 17 In article Petri.Wessman@hut.fi (Petri Wessman) writes: >I'm trying to make GNU Emacs (18.57) dig up the load average on SCO >Unix 3.2v2.0, without much success so far. It should be possible >because 'w' does it, but I haven't found the magic formula yet... >anyone know what type the averages are in the kernel (double, long, ?) >and how to convert them to the normal "load average" figure? Anyone >done this for Emacs already? All help appreciated. Why not just call the display-time function? In addition to showing the time on the mode line, it also shows the load average. Works beautifully on my SCO system. -- Ralph Roberts author@cs.unca.edu | The Unix Desktop Guide to Emacs Asheville, N.C. | Compute!'s Computer Viruses (704) 252-9515 | The Veteran's Guide To Benefits (704) 255-8719 (fax) | + 18 other books & 1000s of articles