From 5b39a4831df592857c4faea787a9d2bd0a767a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Tue, 3 Aug 2004 09:55:23 +0000 Subject: [PATCH] Updated. * reference.texi: Updated. --- doc/ChangeLog | 4 ++++ doc/reference.texi | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 7016a88d..b13d7f9f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2004-08-03 Benoît Dejean + + * reference.texi: Updated. + 2004-07-07 Benoît Dejean * reference.texi: updated. diff --git a/doc/reference.texi b/doc/reference.texi index 804e6a6c..cb3189a6 100644 --- a/doc/reference.texi +++ b/doc/reference.texi @@ -572,6 +572,7 @@ There are some constants for the @code{state} field: #define GLIBTOP_PROCESS_ZOMBIE 8 #define GLIBTOP_PROCESS_STOPPED 16 #define GLIBTOP_PROCESS_SWAPPING 32 +#define GLIBTOP_PROCESS_DEAD 64 @end cartouche @end example @end ifset @@ -717,7 +718,7 @@ Number of pages of virtual memory. @item resident Number of residnet set (non-swapped) pages. @item share -Number of pages of shared (mmap'd) memory. +Number of pages of shared (mmap\'d) memory. @item rss Number of pages the process has in real memory, minus 3 for administrative purposes. @@ -830,6 +831,7 @@ struct _glibtop_proc_time @end cartouche @end example + @table @code @item start_time 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 @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 @node glibtop_proc_signal, glibtop_proc_kernel, glibtop_proc_time, System Dependent @subsection Process Signal information