Re: Accounting in 2.0.36 (Is a Bug?)

Hans-Joachim Baader (hans@grumbeer.inka.de)
Tue, 12 Jan 99 08:30 MET


In article <10513709605237@editel.com.br> you write:
>When I enable Proccess Assounting, in 1.3.78 (with Patch), 2.0.36 (option
>in menuconfig) and 2.2.0-pre5-ac1 (option in menuconfig), using the same
>accton and dumpacct (compiled on 2.0.36) binaries, the results I got is
>strange... In 1.3, works fine; 2.2 also... but 2.0 is a mess! I can't
>understand what kind of info it tries to print...

This is strange. I had it the other way around. The acct tools I had
compiled and used under 2.0 gave funny results on 2.1. This is because
the kernel data structure has been changed somewhere in 2.1. The solution
is to recompile the tools under the kernel you intend to use.

If you have both 2.0 and 2.1 kernels on the same machine you need to
keep two versions of the acct tools (except if there is a new version
that fixes this).

hjb

-- 
"Every use of Linux is a proper use of Linux."
				-- John "Maddog" Hall, Keynote at the Linux
				   Kongress in Cologne

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/