Martin Baulig 4b3fcf149a New fields error_method', sysdeps' and `required'. I added an improved
1998-08-07  Martin Baulig  <martin@home-of-linux.org>

	* glibtop.h (_glibtop): New fields `error_method', `sysdeps' and
	`required'. I added an improved error handling: the client can tell
	the libraries which fields are absolutely required for each features
	and if it fails to set one of them, this will create an error which
	is handled depending upon the `error_method'.

	* include/glibtop/open.h: Define some constants for `error_method'.

	* lib/sysdeps.c (glibtop_get_sysdeps_r): No longer actually call any
	sysdeps function, it now simply copies `server->sysdeps'.
	(_glibtop_init_hook_s): Added. List of functions to be called during
	`glibtop_init_s' set to `glibtop_init_<no-suid-feature>_s'.

	* include/glibtop/sysdeps.h (<glibtop/union.h>): Removed.
	(glibtop_init_func_t): New typedef.
	(_glibtop_init_hook_s): Added.

	* sysdeps/linux/*.c (glibtop_init_<feature>_s): New functions.
	(glibtop_get_proc_*): Zero is now a valid pid.

	* sysdeps/kernel/*.c (glibtop_init_<feature>_s): New functions.
	(glibtop_get_proc_*): Zero is now a valid pid.

1998-08-06  Martin Baulig  <martin@home-of-linux.org>
1998-08-07 10:01:55 +00:00
1998-08-01 22:03:11 +00:00
1998-07-29 21:39:50 +00:00
1998-08-01 22:03:11 +00:00
1998-06-21 22:24:18 +00:00
1998-07-30 10:42:34 +00:00
1998-08-06 22:55:02 +00:00
1998-07-29 22:01:31 +00:00
1998-05-19 18:44:37 +00:00
1998-08-06 22:53:45 +00:00
1998-07-29 22:01:31 +00:00
1998-05-19 18:19:50 +00:00
1998-08-06 23:37:35 +00:00
1998-05-19 18:19:50 +00:00
1998-05-19 18:19:50 +00:00
1998-05-19 18:19:50 +00:00
1998-08-06 22:53:45 +00:00
1998-05-19 18:19:50 +00:00
1998-08-01 22:03:11 +00:00
1998-05-19 18:19:50 +00:00
1998-07-29 22:01:31 +00:00
1998-07-29 22:01:31 +00:00
1998-07-29 22:01:31 +00:00
1998-05-19 18:19:50 +00:00
1998-05-19 18:19:50 +00:00
1998-05-19 18:19:50 +00:00

Hi all,

[PLEASE READ THE FILE ``README.LATEST'' FOR LATEST NEWS]

this is the latest alpha version of libgtop, a library that fetches
information about the running system such as cpu and memory usage,
active processes etc. On Linux systems, these information are taken
directly from the /proc filesystem. For other systems such as Solaris,
where such programs need to be suid root (or only setgid kmem/mem on
some systems), it provides a suid/setgid server that fetches those
information and a client-side library that talks to this server.

Main idea was to have the same interface for all operating systems,
thus all system dependent details are hidden in the implementation
of that server.

Currently, it only works for Linux, documentation on how to port it
to other systems is on the way. I'm planning to keep this site an
up-to-date mirror of my local machine (which is connected to the
internet over some expensive dialup connection, so I'll upload it about
once every day I made significant changes) so that you can always find
the latest version of the software here.

I've written a simple guile interface for the library to show which
information it can already fetch. See examples/third for details.

Source Code:
===========

   libgtop-current-cvs.cpio.gz     is a cpio archive from the CVS repository
   libgtop-current.cpio.gz         contains the lates checked out sources
   libgtop-stable.cpio.gz          if present, it contains the last stable release

Documentation:
=============

   libgtop.sgml                    is the SGML source of the (DocBook) documentation

The next three files are only provided until they get too big to upload.

   libgtop.tex                     TEX file of the documentation
   libgtop.dvi                     DVI file of the documentation
   libgtop.ps                      Postscript file of the documentation

HTML-Documentation:
==================

   libgtop.shtml                   Start here to browse the HTML documentation

Other stuff:
===========

   README, NEWS, ChangeLog         copied from the sources

Enjoy it!

Martin (martin@home-of-linux.org - baulig@merkur.uni-trier.de)
Description
A library for collecting system monitoring data
Readme 6.2 MiB
Languages
C 87.9%
Shell 6.9%
M4 2.7%
Makefile 1.1%
Perl 0.9%
Other 0.5%