Hallo Marc. merkaba:~> systemctl status atopacct ● atopacct.service - Atop process accounting daemon Loaded: loaded (/lib/systemd/system/atopacct.service; enabled; vendor preset: enabled) Active: active (running) since Mi 2016-10-26 10:21:29 CEST; 5min ago Docs: man:atopacctd(8) Process: 31802 ExecStart=/usr/sbin/atopacctd (code=exited, status=0/SUCCESS) Main PID: 31804 (atopacctd) Tasks: 1 (limit: 4915) CGroup: /system.slice/atopacct.service └─31804 /usr/sbin/atopacctd
Okt 26 10:21:29 merkaba atopacctd[31804]: Version: 2.2-4 - 2016/10/14 23:17:04 <gerlof.langev...@atoptool.nl> Okt 26 10:21:29 merkaba systemd[1]: Starting Atop process accounting daemon... Okt 26 10:21:29 merkaba atopacctd[31804]: accounting to /run/pacct_source Okt 26 10:21:29 merkaba systemd[1]: Started Atop process accounting daemon. Yet no procacct warning in atop. But accounting seems to work: merkaba:~> find /run/pacct_source -ls 1297627 44 -rw------- 1 root root 44928 Okt 26 10:28 /run/pacct_source (file size is growing) No idea why atop doesn´t see it. Thanks, Martin Am Dienstag, 25. Oktober 2016, 10:45:34 CEST schrieb Marc Haber: > I have uploaded 2.2.4-1~exp1 to experimental. Can you please retry > with that version, upstream has done some changes there and added more > logging. > > Greetings > Marc > > On Mon, Sep 19, 2016 at 02:59:07PM +0200, Martin Steigerwald wrote: > > From: Martin Steigerwald <mar...@lichtvoll.de> > > Subject: Bug#833997: atop: process accounting does not work > > To: Marc Haber <mh+debian-packa...@zugschlus.de> > > Cc: 833...@bugs.debian.org, 833997-submit...@bugs.debian.org > > Reply-To: Martin Steigerwald <mar...@lichtvoll.de>, 833...@bugs.debian.org > > Date: Mon, 19 Sep 2016 14:59:07 +0200 > > User-Agent: KMail/5.2.3 (Linux/4.8.0-rc6-tp520-btrfstrim+; KDE/5.25.0; > > > > x86_64; ; ) > > > > Hi Marc, > > > > Am Sonntag, 18. September 2016, 16:45:20 CEST schrieb Marc Haber: > > > do you still see this issue? Upstream wants to know whether: > > > > > > - does atopacctd runs as a process at that time? > > > - what is its state ('ps -l' output about atopacctd)? > > > - what is the output of the command "ls -l /var/run/pacct_*" ? > > > > > > I currently have the case on a system that just has been recently > > > > > rebooted: > > Yes, I still see this: > > > > merkaba:~> systemctl status atopacct.service | cat > > ● atopacct.service - Atop process accounting daemon > > > > Loaded: loaded (/lib/systemd/system/atopacct.service; enabled; vendor > > preset: enabled) Active: active (running) since Sa 2016-09-17 21:57:46 > > CEST; 1 day 16h ago> > > Docs: man:atopacctd(8) > > > > Main PID: 1318 (atopacctd) > > > > CGroup: /system.slice/atopacct.service > > > > └─1318 /usr/sbin/atopacctd > > > > Sep 17 21:57:46 merkaba systemd[1]: Started Atop process accounting > > daemon. > > Sep 17 21:57:46 merkaba atopacctd[1318]: reactivate process accounting > > Sep 17 22:58:15 merkaba atopacctd[1318]: reactivate process accounting > > Sep 18 07:11:20 merkaba atopacctd[1318]: reactivate process accounting > > Sep 18 09:45:11 merkaba atopacctd[1318]: reactivate process accounting > > Sep 19 00:11:57 merkaba atopacctd[1318]: reactivate process accounting > > Sep 19 09:42:21 merkaba atopacctd[1318]: reactivate process accounting > > Sep 19 10:42:26 merkaba atopacctd[1318]: reactivate process accounting > > Sep 19 11:42:30 merkaba atopacctd[1318]: reactivate process accounting > > Sep 19 14:14:50 merkaba atopacctd[1318]: reactivate process accounting > > > > merkaba:~> uptime > > > > 14:56:28 up 1 day, 16:58, 21 users, load average: 0,44, 0,37, 0,22 > > > > (with suspend cycle in between) > > > > > > merkaba:~> ps aux | head -1 ; ps aux | grep "[a]top" > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > > root 1318 0.0 0.0 4184 32 ? S< Sep17 0:01 > > /usr/sbin/atopacctd > > > > merkaba:~> ps -l 1318 > > F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD > > 5 S 0 1318 1 0 60 -20 - 1046 skb_wa ? 0:01 > > /usr/sbin/atopacctd > > > > > > merkaba:~> ls -l /var/run/pacct_* > > -rw------- 1 root root 0 Sep 17 21:57 /var/run/pacct_source > > > > /var/run/pacct_shadow.d: > > insgesamt 4 > > -rw-r--r-- 1 root root 0 Sep 17 21:57 0000000000.paf > > -rw-r--r-- 1 root root 7 Sep 17 21:57 current > > > > Thanks, -- Martin