From fabre@ocre.cea.fr Wed Jul 6 01:53:48 2005 Received: with ECARTIS (v1.0.0; list csa); Wed, 06 Jul 2005 01:53:50 -0700 (PDT) Received: from cirse.extra.cea.fr (cirse.extra.cea.fr [132.166.172.102]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j668rlH9004504 for ; Wed, 6 Jul 2005 01:53:47 -0700 Received: from cincidele.saclay.cea.fr (cincidele.saclay.cea.fr [132.166.192.111]) by cirse.extra.cea.fr (8.13.4/8.13.4/CEAnet-Internet.5.0) with ESMTP id j668qBFj019942 for ; Wed, 6 Jul 2005 10:52:11 +0200 (MEST) Received: from epeire.extra.cea.fr (unverified) by cincidele.saclay.cea.fr (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Wed, 6 Jul 2005 10:52:11 +0200 Received: from orchidee.ceng.cea.fr (orchidee.ceng.cea.fr [132.168.148.11]) by epeire.extra.cea.fr (8.12.11/8.12.11) with ESMTP id j668pCfc013998 for ; Wed, 6 Jul 2005 10:51:12 +0200 (envelope-from fabre@ocre.cea.fr) Received: from focre.ocre.cea.fr (focre.ocre.cea.fr [132.165.65.6]) by orchidee.ceng.cea.fr (8.13.4/8.13.4/CEAnet-Internet.5.0) with ESMTP id j668q5tL024832 for ; Wed, 6 Jul 2005 10:52:10 +0200 (MET DST) Received: from socre12.ocre.cea.fr (socre12.ocre.cea.fr [132.165.65.31]) by focre.ocre.cea.fr (Postfix) with ESMTP id 4B81867737 for ; Wed, 6 Jul 2005 10:52:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by socre12.ocre.cea.fr (Postfix) with ESMTP id 3250544A05 for ; Wed, 6 Jul 2005 04:52:05 -0400 (EDT) Subject: CSA : No spacct file From: Greg FABRE Reply-To: fabre@ocre.cea.fr To: csa@oss.sgi.com Content-Type: text/plain Organization: Greg for CEA Message-Id: <1120639925.2692.16.camel@socre12.ocre.cea.fr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 06 Jul 2005 10:52:05 +0200 Content-Transfer-Encoding: 7bit X-archive-position: 70 X-ecartis-version: Ecartis v1.0.0 Sender: csa-bounce@oss.sgi.com Errors-to: csa-bounce@oss.sgi.com X-original-sender: fabre@ocre.cea.fr Precedence: bulk X-list: csa 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 From jlan@engr.sgi.com Wed Jul 6 09:12:59 2005 Received: with ECARTIS (v1.0.0; list csa); Wed, 06 Jul 2005 09:13:08 -0700 (PDT) Received: from omx2.sgi.com (omx2-ext.sgi.com [192.48.171.19]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j66GCwH9025217 for ; Wed, 6 Jul 2005 09:12:58 -0700 Received: from spindle.corp.sgi.com (spindle.corp.sgi.com [198.29.75.13]) by omx2.sgi.com (8.12.11/8.12.9/linux-outbound_gateway-1.1) with ESMTP id j66I3FYO001102 for ; Wed, 6 Jul 2005 11:03:15 -0700 Received: from mtv-vpn-hw-jlan-2.corp.sgi.com (mtv-vpn-hw-jlan-2.corp.sgi.com [134.15.18.195]) by spindle.corp.sgi.com (SGI-8.12.5/8.12.9/generic_config-1.2) with ESMTP id j66GBLad66239992; Wed, 6 Jul 2005 09:11:21 -0700 (PDT) Received: from engr.sgi.com (mtv-vpn-hw-jlan-2.corp.sgi.com [127.0.0.1]) by mtv-vpn-hw-jlan-2.corp.sgi.com (8.12.8/8.12.8) with ESMTP id j66GB83m004945; Wed, 6 Jul 2005 09:11:15 -0700 Message-ID: <42CC029C.2080403@engr.sgi.com> Date: Wed, 06 Jul 2005 09:11:08 -0700 From: Jay Lan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: zh-tw, en-us, en, zh-cn, zh-hk MIME-Version: 1.0 To: fabre@ocre.cea.fr CC: csa@oss.sgi.com Subject: Re: CSA : No spacct file References: <1120639925.2692.16.camel@socre12.ocre.cea.fr> In-Reply-To: <1120639925.2692.16.camel@socre12.ocre.cea.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 71 X-ecartis-version: Ecartis v1.0.0 Sender: csa-bounce@oss.sgi.com Errors-to: csa-bounce@oss.sgi.com X-original-sender: jlan@engr.sgi.com Precedence: bulk X-list: csa Hi Greg, 'csabuild' is one step in a series of command action performed by 'csarun'. The current state of 'csarun' is saved at /var/csa/nite/statefile. The 'csarun' is a script file. It is at /usr/sbin/csarun. As you can see from the script file, 'csabuild' is to be performed when the csa state is at "BUILD" state, and it uses file prepared by the "SETUP" state. I would suggest you to run 'csarun'. If you need to have intermediate files, you may use "ARCHIVE1" or "ARCHIVE2" user exits to save the intermediate files. (Please see 'csarun' man page.) Hope this help! Cheers, - jay Greg FABRE wrote: > 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. > > From jlan@engr.sgi.com Mon Jul 25 16:22:31 2005 Received: with ECARTIS (v1.0.0; list csa); Mon, 25 Jul 2005 16:22:34 -0700 (PDT) Received: from omx1.americas.sgi.com (omx1-ext.sgi.com [192.48.179.11]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j6PNMVH9021040 for ; Mon, 25 Jul 2005 16:22:31 -0700 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id j6PNKaxT022230 for ; Mon, 25 Jul 2005 18:20:36 -0500 Received: from aware.engr.sgi.com (aware.engr.sgi.com [163.154.6.184]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id j6PNKZSC3334147; Mon, 25 Jul 2005 16:20:35 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by aware.engr.sgi.com (Postfix) with ESMTP id 47B412822E4C; Mon, 25 Jul 2005 16:20:38 -0700 (PDT) Message-ID: <42E573C5.9080200@engr.sgi.com> Date: Mon, 25 Jul 2005 16:20:37 -0700 From: Jay Lan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906 X-Accept-Language: en-us, en MIME-Version: 1.0 To: csa@oss.sgi.com Subject: New CSA rpm uploaded X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 72 X-ecartis-version: Ecartis v1.0.0 Sender: csa-bounce@oss.sgi.com Errors-to: csa-bounce@oss.sgi.com X-original-sender: jlan@engr.sgi.com Precedence: bulk X-list: csa Hi, I uploaded CSA user=land rpms to oss.sgi.com: csa-2.1.5-1.{i386,src}.rpm support Linux 2.4.27 kernel csa-2.2.1-1.{i386,src}.rpm support Linux 2.6 kernels Please note that there is no plan to release new csa rpms after 2.1.5 to support linux 2.4 kernels. CSA that support 2.6 kernels is alive and actively supported! :) Here is the changelog for 2.2.1: * Mon May 2 2005 Jay Lan - csa-2.2.1 - clean up csa init script - csa_wracct(3) man page update - 'csacom -o' wrote only one record - 'csacom -b' does not work - csajrep man page references invalid option '-W' - 'csajrep -r' does not work - 'dodisk' created files with incorrect user and group name 'adm' - CSA does not handle gid's > 65535 - 'csacom -j' failed if job id greater than max value of an int And, the changelog for 2.1.5: * Fri Mar 25 2005 Jay Lan - csa-2.1.5 (final release to support 2.4 kernels) - 'csacom -o' wrote only one record - 'csacom -b' does not work - csajrep man page references invalid option '-W' - 'csajrep -r' does not work You can get the new rpm at ftp://oss.sgi.com/projects/csa/download/ Visit http://oss.sgi.com/projects/csa/ for more information about CSA. Please check them out and have fun. Let me know if you have any problems. Best regards, Jay Lan - Linux System Software - Silicon Graphics