Score:0

why is process accounting file empty and dump-acct output nothing?

za flag

This is a fresh install of Ubuntu 20.04.2 LTS with Mate desktop and good hardware with plenty of drive space.

I've turned process accounting on with /usr/sbin/accton on soon after boot and nothing is getting logged.

As root:

ls -l /var/log/account/pacct

yields this:

-rw-r----- 1 root adm 0 Jun 26 07:37 /var/log/account/pacct

The 5.8 kernel has CONFIG_BSD_PROCESS_ACCT turned on in /boot/config*

CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y

Yet, dump-acct produces nothing:

dump-acct /var/log/account/pacct

What's missing?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.