From 10dcb079f7783654078fb51359ac3ef154ca4ad9 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 18 Oct 1999 18:15:30 +0000 Subject: [PATCH] Added a note about LibGTop and GNOME. 1999-10-18 Martin Baulig * about.texi: Added a note about LibGTop and GNOME. * reference.texi (glibtop_proc_state): Fix description of the `state' field for LibGTop 1.0.x. --- doc/ChangeLog | 7 +++++++ doc/about.texi | 13 ++++++++++--- doc/reference.texi | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index eba8aa16..4f450cd9 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +1999-10-18 Martin Baulig + + * about.texi: Added a note about LibGTop and GNOME. + + * reference.texi (glibtop_proc_state): Fix description of the `state' + field for LibGTop 1.0.x. + 1999-09-29 Martin Baulig * Makefile.am: Reverted Timur's commit. diff --git a/doc/about.texi b/doc/about.texi index a99396bc..14b80075 100644 --- a/doc/about.texi +++ b/doc/about.texi @@ -7,6 +7,10 @@ and information about running Processes. On Systems like Solaris or Digital Unix where you need special privileges to get those data, it uses a setuid/setgid server to do so. +Even if LibGTop is a part of the GNOME desktop environment (@uref{http://www.gnome.org}), +the main interface of LibGTop is totally independent from any particular desktop environment, +so you can also use it as a standalone library in any piece of GPLed software. + @menu * Availability:: Where to get LibGTop * Supported Platforms:: Supported Platforms @@ -44,6 +48,8 @@ The stable branch currently supports the following platforms: LibGTop was tested under Linux 2.0.x and 2.2.x on the ix86 and the alpha, but it should also work without problems on SparcLinux. +Note: I'm speaking of the Linux kernel here, not the GNU/Linux operating system. + @item FreeBSD, NetBSD and OpenBSD LibGTop was tested under FreeBSD 2.2.6 and 3.0, NetBSD 1.3.2 and OpenBSD 2.4. @@ -70,9 +76,10 @@ permits so it should be fully supported soon. @item Solaris -There will be a Solaris port of LibGTop very soon. Especially Drazen Kacar and -some other people have been doing excellent work here and I'm sure that this -port will be ready soon. +The Solaris port currently works on Solaris 7 and maybe also on other releases. +Thanks a lot to Drazen Kacar and everyone who helped working on this port. They +have really done excellent work here and I'm pretty sure that this port will be +fully functional on most Solaris versions in near future. @end itemize diff --git a/doc/reference.texi b/doc/reference.texi index 4b47aa85..94fbad4d 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -494,7 +494,12 @@ struct _glibtop_proc_state @{ u_int64_t flags; char cmd[40]; +@ifset LIBGTOP-1-1 unsigned state; +@end ifset +@ifclear LIBGTOP-1-1 + char state; +@end ifclear int uid, gid, ruid, @@ -511,7 +516,16 @@ struct _glibtop_proc_state @item cmd Basename of the executable file in the call to @code{exec}. @item state +@ifset LIBGTOP-1-1 Process state (see the constants defined below). +@end ifset +@ifclear LIBGTOP-1-1 +Process state ('R' = running, 'S' = sleeping, 'D' = uninterruptible, +'Z' = zombie, 'T' = stopped, 'I' = idle). + +This was changed to an @code{unsigned} bitfield in LibGTop 1.1.x where there +are also some constants for it. +@end ifclear @end table When porting LibGTop, please @emph{try hard} to implement the following @@ -547,6 +561,7 @@ in this case to find out whether the process really has a CPU). The is the processor id of the CPU the process was last running on. @end table +@ifset LIBGTOP-1-1 There are some constants for the @code{state} field: @example @@ -559,6 +574,7 @@ There are some constants for the @code{state} field: #define GLIBTOP_PROCESS_SWAPPING 32 @end cartouche @end example +@end ifset @table @code @item GLIBTOP_PROCESS_RUNNING