[2.1.current] BSD psacct & <sys/acct.h>

B. James Phillippe (bryan@Terran.ORG)
17 Feb 1998 19:27:50 +0100


Hello,

I'm running a very current RedHat 5.0 system (uses glibc), with
process accounting. I've noted that in 2.1.x, the userland process
accounting tools are seriously broken (due to changes in the format of the
pacct file, I believe). I have tracked the problem to the existance of
<linux/acct.h> and <sys/acct.h>. On my machine both are present. I've
looked through the source to acct, and it appears that the build process
prefers <sys/acct.h> over <linux/acct.h>, and this is what is causing the
incompatibility. I have rebuilt acct with <sys/acct.h> temporarily
unavailable, and now acct tools all work like a charm. My question is,
what is the right solution? Should the acct package preference the Linux
includes over the <sys> ones?

thanks,
-bp

--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://w3.terran.org/~bryan

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu