[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Getting the system load is NASTY!
From:       Markus Wuebben <mwuebben () fiwi02 ! wiwi ! uni-tuebingen ! de>
Date:       1998-05-28 15:26:36
[Download RAW message or body]


> On Wed, 27 May 1998, Armen Nakashian wrote:
> 
> > I am working on a KDE version of xload.  I've written all the code for the
> > actual load display itself, but the problem is getting the load for
> > different system types.
> [...]
> > a graph of its result; there is get_load has no dependency on kload.
> > My thought:  put get_load into some part of kdebase or kdelibs, along with
> > other OS specific code.  Ideally, we could have a kdesystem library, that
> > contains system specific functions.
> 
> That's exactly my feeling, and the reason I started working on the SysInfo
> class*.  However, it's far from finished (even on fbsd) at the moment.  If
> you're desperate to get the code, check out the source for GNU make.  It
> has a getloadavg() function for those systems which don't have one
> (however, at least on freebsd getloadavg() is the least preferred out of
> three methods to use IMO). 

This is good stuff! I once wrote k filesystem control easily for Linux.
But then it came to portabilty. I would be glad to contribute some stuff
and experiences I made.

Later,
Markus



> 
> * Available at http://www.wenet.net/~garbanzo/unix/libsysutils.tar.gz
> 
> - alex
> 
> | "Contrary to popular belief, penguins are not the salvation of modern  |
> | technology.  Neither do they throw parties for the urban proletariat." |
> | Powered by FreeBSD                            http://www.freebsd.org/  |
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic