[GE users] qacct -f and archive accounting files

Darin Perusich Darin.Perusich at cognigencorp.com
Tue Sep 25 16:55:56 BST 2007


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

gzcat /usr/sge/default/common/accounting.0.gz | qacct

Brett W Grant wrote:
> 
> That works great in bash.  It doesn't work in tcsh.  Any hints on how to 
> do it in tcsh?
> 
> Thanks,
> Brett Grant
> 
> 
> 
> *Reuti <reuti at staff.uni-marburg.de>*
> 
> 09/25/2007 08:35 AM
> Please respond to
> users at gridengine.sunsource.net
> 
> 
> 	
> To
> 	users at gridengine.sunsource.net
> cc
> 	
> Subject
> 	Re: [GE users] qacct -f and archive accounting files
> 
> 
> 	
> 
> 
> 
> 
> 
> Am 25.09.2007 um 16:24 schrieb Brett W Grant:
> 
>  > I typically look at the accounting file to see how many jobs have  
>  > been done in a week.  This works fine unless the accounting file  
>  > roles over.  As I don't have write permissions to the directory  
>  > where the accounting files are located, I have to copy the files  
>  > over, unzip them and then issue the qacct command.  I would like to  
>  > avoid the copy and unzip.  Is there a way to use the -f flag with  
>  > zcat to get the accounting info?
> 
> qacct -f <(zcat /usr/sge/default/common/accounting.0.gz)
> 
> -- Reuti
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 
> 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list