Hello,
>> I am trying to create an accounting daemon that would be more precise
>> than usual BSD system accounting. It should read the whole process
>> tree from time to time (say, every 10 seconds) and log changes in
>> usage of CPU, I/O operations and memory per process.
>> There is a problem:
* cronfy [100128 06:16] wrote:
> >> To ensure that process in the process tree and process in the
> >> accounting file are the same, I want to add unique process identifier
> >> (uint64_t) to 'proc' struct in sys/sys/proc.h and increment it for
> >> every process fork. I see it is possible to do t
On Mon, Jan 25, 2010 at 02:33:35AM +0300, cronfy wrote:
> I am trying to create an accounting daemon that would be more precise
> than usual BSD system accounting. It should read the whole process
> tree from time to time (say, every 10 seconds) and log changes in
> usage of CPU, I/O operations and
>> To ensure that process in the process tree and process in the
>> accounting file are the same, I want to add unique process identifier
>> (uint64_t) to 'proc' struct in sys/sys/proc.h and increment it for
>> every process fork. I see it is possible to do this just before
>> sx_sunlock() in fork1
* cronfy [100124 15:59] wrote:
> Hello.
>
> Sorry for the crosspost, I intended to post this to freebsd-hackers@, but
> sent first copy to freebsd-questions@ by mistake.
>
>
> I am trying to create an accounting daemon that would be more precise
> than usual BSD system accounting. It should rea
Hello.
Sorry for the crosspost, I intended to post this to freebsd-hackers@, but
sent first copy to freebsd-questions@ by mistake.
I am trying to create an accounting daemon that would be more precise
than usual BSD system accounting. It should read the whole process
tree from time to time (say,
6 matches
Mail list logo