Re: Accounting with pid ?

Juha Virtanen (
Tue, 14 May 1996 10:26:54 +0300

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
I made the kernel diffs against pre2.0.3, but they should apply
to any kernel having process accounting in it.

The other diffs in that directory are for dumping accounting file
to screen.

(Latest process accounting utilities package is acct_1.3.73.tar.gz
available from URL