Added a note about LibGTop and GNOME.

1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* 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.
This commit is contained in:
Martin Baulig
1999-10-18 18:15:30 +00:00
committed by Martin Baulig
parent 8da7856780
commit 10dcb079f7
3 changed files with 33 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
1999-10-18 Martin Baulig <martin@home-of-linux.org>
* 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 <martin@home-of-linux.org> 1999-09-29 Martin Baulig <martin@home-of-linux.org>
* Makefile.am: Reverted Timur's commit. * Makefile.am: Reverted Timur's commit.

View File

@@ -7,6 +7,10 @@ and information about running Processes.
On Systems like Solaris or Digital Unix where you need special privileges to 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. 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 @menu
* Availability:: Where to get LibGTop * Availability:: Where to get LibGTop
* Supported Platforms:: Supported Platforms * 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 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. 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 @item FreeBSD, NetBSD and OpenBSD
LibGTop was tested under FreeBSD 2.2.6 and 3.0, NetBSD 1.3.2 and OpenBSD 2.4. 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 @item Solaris
There will be a Solaris port of LibGTop very soon. Especially Drazen Kacar and The Solaris port currently works on Solaris 7 and maybe also on other releases.
some other people have been doing excellent work here and I'm sure that this Thanks a lot to Drazen Kacar and everyone who helped working on this port. They
port will be ready soon. 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 @end itemize

View File

@@ -494,7 +494,12 @@ struct _glibtop_proc_state
@{ @{
u_int64_t flags; u_int64_t flags;
char cmd[40]; char cmd[40];
@ifset LIBGTOP-1-1
unsigned state; unsigned state;
@end ifset
@ifclear LIBGTOP-1-1
char state;
@end ifclear
int uid, int uid,
gid, gid,
ruid, ruid,
@@ -511,7 +516,16 @@ struct _glibtop_proc_state
@item cmd @item cmd
Basename of the executable file in the call to @code{exec}. Basename of the executable file in the call to @code{exec}.
@item state @item state
@ifset LIBGTOP-1-1
Process state (see the constants defined below). 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 @end table
When porting LibGTop, please @emph{try hard} to implement the following 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. The is the processor id of the CPU the process was last running on.
@end table @end table
@ifset LIBGTOP-1-1
There are some constants for the @code{state} field: There are some constants for the @code{state} field:
@example @example
@@ -559,6 +574,7 @@ There are some constants for the @code{state} field:
#define GLIBTOP_PROCESS_SWAPPING 32 #define GLIBTOP_PROCESS_SWAPPING 32
@end cartouche @end cartouche
@end example @end example
@end ifset
@table @code @table @code
@item GLIBTOP_PROCESS_RUNNING @item GLIBTOP_PROCESS_RUNNING