Re: 2.12[56789] and proces accounting

David Madore (madore@clipper.ens.fr)
Wed, 25 Nov 1998 23:05:45 +0100 (MET)


>Anyone running proces accounting on 2.1.x kernel ?

I am.

>I have BSD accounting compiled into kernel, and
>accounting tools compiled with correct header files,
>but this doesn't work. I recompile libc with kernel 2.1.129
>headers too.
>
>When I run lastcomm, it dump core. Any ideas ?

After you run configure on acct-6.3, check the config.h file it
generates. Search for HAVE_LINUX_ACCT_H. The line in question should
read

#define HAVE_LINUX_ACCT_H 1

If you change it that way, things should work. (Remember to wipe your
pacct file.)

--
     David A. Madore
    (david.madore@ens.fr,
     http://www.eleves.ens.fr:8080/home/madore/)

- 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/