Rainer Zocholl wrote:
> Bug or feature or superfluous?
Feature. For a single user?
> COLINUX:~# atop
> activate process accounting: Function not implemented
> warning: no process exit detection!
>
> man atop
> When atop is started, it switches on the process accounting mechanism in the ker-
> nel. This forces the kernel to write a record with accounting information to the
> accounting file whenever a process ends. Apart from the kernel administration
> related to the running processes, atop also interprets the accounting records on
> disk with every interval; in this way atop can also show the activity of a pro-
> cess during the interval in which it is finished.
zgrep "CONFIG_BSD_PROCESS_ACCT" </proc/config.gz
# CONFIG_BSD_PROCESS_ACCT is not set
I think, this is the kernel feature, what "atop" needs.
You can enable this kernel feature and recompile the kernel.
Because we copy the kernels config from older kernel and not enable all
feature, we have not enabled it. The default kernel config
arch/i386/defconfig has also not enabled this.
By the while: Process accounting under virtual machines would not
perfect work. The timer dosn't run in constant time slices. Same problem
we have with the 'HZ' value.
--
Henry N.
|