afe57f9ee90651f139b43bd34f61e00f79b63b87
1998-10-20 Martin Baulig <martin@home-of-linux.org> * include/glibtop/proc_signal.h: Use a 2-element-array of type `u_int64_t' for all signal masks instead of just scalar numbers. This avoids problems on systems with more than 64 signals. If there is any operating system out there with even more than 128 signals, we can simply increase the number of array elements here. [NOTE for people porting libgtop: Please use all 64 bits of the `u_int64_t' and not just 32 - the signal number (as it is used in calls to kill () ...) should be a bit-index into this field; if a process ignores for instance signal 64, it has the 0-bit of sigcatch[1] set, if it ignores 63, this is the 63-bit of sigcatch[0] and so on ... The mapping between signal numbers and their names is done via the glibtop_sys_siglist [] field which should be declared in sysdeps/@sysdeps_dir@/siglist.c - see linux for an example. ] * features.def: It's now safe to put things like `loadavg[3]' here - the awk skripts should correctly threat this as an array.
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
Languages
C
49.4%
Makefile
23.4%
Shell
19.4%
M4
7.2%
Perl
0.3%
Other
0.3%