* reference.texi: Updated.
This commit is contained in:
Benoît Dejean
2004-08-03 09:55:23 +00:00
parent 275d96b6c7
commit 5b39a4831d
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2004-08-03 Benoît Dejean <tazforever@dlfp.org>
* reference.texi: Updated.
2004-07-07 Benoît Dejean <tazforever@dlfp.org> 2004-07-07 Benoît Dejean <tazforever@dlfp.org>
* reference.texi: updated. * reference.texi: updated.

View File

@@ -572,6 +572,7 @@ There are some constants for the @code{state} field:
#define GLIBTOP_PROCESS_ZOMBIE 8 #define GLIBTOP_PROCESS_ZOMBIE 8
#define GLIBTOP_PROCESS_STOPPED 16 #define GLIBTOP_PROCESS_STOPPED 16
#define GLIBTOP_PROCESS_SWAPPING 32 #define GLIBTOP_PROCESS_SWAPPING 32
#define GLIBTOP_PROCESS_DEAD 64
@end cartouche @end cartouche
@end example @end example
@end ifset @end ifset
@@ -717,7 +718,7 @@ Number of pages of virtual memory.
@item resident @item resident
Number of residnet set (non-swapped) pages. Number of residnet set (non-swapped) pages.
@item share @item share
Number of pages of shared (mmap'd) memory. Number of pages of shared (mmap\'d) memory.
@item rss @item rss
Number of pages the process has in real memory, minus 3 for administrative Number of pages the process has in real memory, minus 3 for administrative
purposes. purposes.
@@ -830,6 +831,7 @@ struct _glibtop_proc_time
@end cartouche @end cartouche
@end example @end example
@table @code @table @code
@item start_time @item start_time
Start time of process in seconds since the epoch Start time of process in seconds since the epoch
@@ -856,6 +858,18 @@ SMP user-mode CPU time accumulated by process
SMP kernel-mode CPU time accumulated by process SMP kernel-mode CPU time accumulated by process
@end table @end table
Please note that under Linux, @code{start_time} value may be strange.
Linux kernel defines @code{INITIAL_JIFFIES} which implies a time
shift. Because @code{INITIAL_JIFFIES} is not user-space defined, we
cannot use it to compute accurate @code{start_time}. On Linux2.6,
@code{INITIAL_JIFFIES} is 300 so @code{start_time} is always 3s
different from real start time of the given process. You may also get
shift results if your system clock is not synchronised with your
hardware clock. See @samp{man hwclock}.
@page @page
@node glibtop_proc_signal, glibtop_proc_kernel, glibtop_proc_time, System Dependent @node glibtop_proc_signal, glibtop_proc_kernel, glibtop_proc_time, System Dependent
@subsection Process Signal information @subsection Process Signal information