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 ?
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.

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
<ftp://iguana.hut.fi/pub/linux/Kernel/process_accounting/acct_1.3.73.tar.gz>
or
<http://iguana.hut.fi/ftp/pub/linux/Kernel/process_accounting/acct_1.3.73.tar.gz>.)


Juha
--
jiivee@iki.fi http://www.iki.fi/jiivee/


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