From 8fc6c79b6d1037852453c1dc3b0a5085bcea38fb Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 10 May 1999 09:30:27 +0000 Subject: Added proc_state. --- doc/libgtop.texi | 3 ++ doc/reference.texi | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 118 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/libgtop.texi b/doc/libgtop.texi index a1bd028b..af9ea466 100644 --- a/doc/libgtop.texi +++ b/doc/libgtop.texi @@ -22,6 +22,8 @@ + + --- The Detailed Node Listing --- About LibGTop @@ -39,6 +41,7 @@ LibGTop Reference Manual * glibtop_uptime:: System Uptime. * glibtop_loadavg:: Load Average. * glibtop_proclist:: Process List. +* glibtop_proc_state:: Process State. @end menu @include about.texi diff --git a/doc/reference.texi b/doc/reference.texi index 3c2dcbfb..a3ee9055 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -8,6 +8,7 @@ * glibtop_uptime:: System Uptime. * glibtop_loadavg:: Load Average. * glibtop_proclist:: Process List. +* glibtop_proc_state:: Process State. @end menu @node glibtop_cpu, glibtop_mem, Reference Manual, Reference Manual @@ -323,7 +324,7 @@ Last PID. @end table @page -@node glibtop_proclist, , glibtop_loadavg, Reference Manual +@node glibtop_proclist, glibtop_proc_state, glibtop_loadavg, Reference Manual @section Process List Library function @code{glibtop_get_proclist}: @@ -439,3 +440,116 @@ Size of a single entry in the returned list The returned list is allocated using @code{glibtop_malloc} and must be freed using @code{glibtop_free} to avoid a memory leak. + +@page +@node glibtop_proc_state, , glibtop_proclist, Reference Manual +@section Process State + +Library function @code{glibtop_get_proc_state}: + +@example +@cartouche +void +glibtop_get_proc_state (glibtop_proc_state *buf, pid_t pid); + +void +glibtop_get_proc_state_l (glibtop *server, glibtop_proc_state *buf, + pid_t pid); +@end cartouche +@end example + +Declaration of @code{glibtop_proc_state} in @file{