CSA : No spacct file
Greg FABRE <[email protected]> 06 Jul 2005 10:52:05 +0200
| Newsgroups | gmane.linux.comprehensive-system-accounting |
|---|---|
| Organization | Greg for CEA |
| Message-ID | <[email protected]> |
Hi, I'm using CSA with a Linux-2.6.12-rc6-mm1 computer. It's working fine except some commands. On the Linux Ressource Administration Guide 007-4413-008 page 31, there is the CSA system diagram. It says that csabuild seems to create the sorted pacct file which can be used with other commands. But : [root@po03 day]# csabuild Could not open the first pacct file '/var/csa/work/Wpacct1' So, I don't know how to use this command. Here is my csa var tree : [root@po03 day]# ls -hlR /var/csa/ /var/csa/: total 40K drwxr-xr-x 2 root sys 4.0K Jul 5 16:42 day drwxr-xr-x 2 root sys 4.0K Jul 5 16:12 fiscal drwxr-xr-x 2 root sys 4.0K Jul 5 16:43 nite drwxr-xr-x 2 root sys 4.0K Jul 5 15:25 sum drwxr-xr-x 2 root sys 4.0K Jul 5 15:25 work /var/csa/day: total 11M -rw-r----- 1 adm adm 276 Jul 5 16:13 dtmp -rw-rw---- 1 root csaacct 8.8K Jul 4 14:58 fee -rw------- 1 root root 0 Jul 5 16:42 nohup.out -rw-rw-r-- 1 csaacct csaacct 5.0M Jul 6 10:47 pacct -rw-rw-r-- 1 root csaacct 5.2M Jul 5 15:25 pacct0 /var/csa/fiscal: total 128K -rw-rw---- 1 root csaacct 61K Jul 5 16:12 cms.07051612 -rw-rw---- 1 root csaacct 18K Jul 5 16:12 pdacct.07051612 -rw-rw---- 1 root csaacct 28K Jul 5 16:12 rprt.07051612 /var/csa/nite: total 188K -rw-rw-r-- 1 csaacct csaacct 99 Jul 5 16:42 active07051642 -rw-rw-r-- 1 csaacct csaacct 133 Jul 5 16:43 active07061525 -rw-rw-r-- 1 csaacct csaacct 130 Jul 5 09:53 active20948 -rw-rw---- 1 root root 20 Jul 5 15:25 clastdate -rw-r--r-- 1 root root 39 Jun 17 13:33 csarun.log -rw-r----- 1 adm adm 106K Jul 5 16:13 diskcacct -rw-r--r-- 1 root root 39 Jul 5 16:43 fd2log -rw-rw-r-- 1 csaacct csaacct 402 Jul 5 16:12 pdact -rw-rw-r-- 1 csaacct csaacct 225 Jul 4 14:59 pdact.07041459 -rw-r--r-- 1 root sys 9 Jul 5 15:25 statefile /var/csa/sum: total 208K -rw-rw---- 1 root root 0 Jun 17 13:28 cacct.06171328 -rw-rw---- 1 root csaacct 0 Jun 17 13:30 cacct.06171330 -rw-rw---- 1 root csaacct 0 Jun 17 13:33 cacct.06171333 -rw-rw---- 1 root csaacct 18K Jul 5 09:48 cacct.07050948 -rw-rw---- 1 root csaacct 8.8K Jul 5 15:25 cacct.07051525 -rw-rw---- 1 root root 0 Jun 17 13:28 cms.06171328 -rw-rw---- 1 root csaacct 0 Jun 17 13:30 cms.06171330 -rw-rw---- 1 root csaacct 0 Jun 17 13:33 cms.06171333 -rw-rw---- 1 root csaacct 61K Jul 5 09:48 cms.07050948 -rw-rw---- 1 root csaacct 4.1K Jul 5 15:25 cms.07051525 -rw-rw-r-- 1 csaacct csaacct 591 Jul 5 15:25 loginlog -rw-rw---- 1 root root 3.5K Jun 17 13:28 rprt.06171328 -rw-rw---- 1 root csaacct 3.5K Jun 17 13:30 rprt.06171330 -rw-rw---- 1 root csaacct 3.5K Jun 17 13:33 rprt.06171333 -rw-rw---- 1 root csaacct 11K Jul 5 09:48 rprt.07050948 -rw-rw---- 1 root csaacct 5.2K Jul 5 15:25 rprt.07051525 /var/csa/work: total 0 Thanx a lot for your help, Greg. -- Greg FABRE Stagiaire CEA greg.fabre (at) iero.org http://www.iero.org