lkml.org 
[lkml]   [1996]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Accounting with pid ?
On Tue, 14 May 1996, Juha Virtanen wrote:

> Andreas Joppich writes:
>
> :>How about printing the pid of the executing process
> :>into the accounting file, if accounting is enabled ?
> :>Under VMS this is done and sometimes it helps a lot
> :>to trace down some things.
>
> This requires only adding two lines to kernel. If you want to
> test it out, get the diffs from
> <ftp://iguana.hut.fi/pub/linux/Kernel/process_accounting/experimental/>.
> I made the kernel diffs against pre2.0.3, but they should apply
> to any kernel having process accounting in it.

I modified the process accounting in the kernel to also log size in
memory of processes, as well as the amount of i/o they did, and number of
swaps caused. These are simple patches, and the first two were present in
the original accounting patches. Somewhere along the line the facility to
log these items was dropped.

Anyone interested in my patches to both the kernel and the process
accounting suite should e-mail me.

On another note, it seems that there are many useful patches out there
not yet incorporated into the official kernel, so I might as well archive
them on my ftp site. Mail me if you want your patches mirrored!

Cheers,
Chris.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.046 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site