From: Antoine Durr <antoine@(email surpressed)> Subject: custom rush -laj report columns Date: Wed, 30 May 2007 18:47:06 -0400 |
Msg# 1564 View Complete Thread (3 articles) | All Threads Last Next |
[edited to remove linewrapping -erco 06/01/07] Hi,Is there a way to customize which columns are printed with a 'rush -laj' list all jobs call, or for that matter, with irush? Right now, I see: f3:/home/antoine%> q_list STATUS JOBID TITLE OWNER %DONE %FAIL BUSY ELAPSED REMARKS -------- ---------------- ------------------------- -------------- ----- ----- ---- ---------- -------- Run f1.631 75-10v35_L beth 36% 0% 4 02:13:09 Run f1.632 75-10v35_R beth 46% 0% 4 02:09:45 Run f2.403 sm075_020_v26_L jerry 29% 0% 0 00:43:54 Run f2.405 sm075_010_v30_L jerry 37% 0% 25 00:12:03 ---------- total: 33(pardon if this doesn't show up in fixed space characters) BTW, the 'total' part is mine, but everything else is pretty much just a 'rush -laj | grep -v Done'. What I want to see are not done percentages, but done number of frames, and as well, I'd like to see how many frames there are in a particular job. Then, I would make the total line show how many total frames are in the queue, how many are done, how many are running, etc. Oh, I forgot, one other change: my script moves the percent signs to be after the number, not before. Thanks, -- Antoine -- Floq FX Inc. 10839 Washington Blvd. Culver City, CA 90232 310/430-2473 |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: custom rush -laj report columns Date: Wed, 30 May 2007 19:16:30 -0400 |
Msg# 1565 View Complete Thread (3 articles) | All Threads Last Next |
Antoine Durr wrote: > [posted to rush.general] > > Hi, > Is there a way to customize which columns are printed with a 'rush > -laj' list all jobs call, or for that matter, with irush? The 102.43 release (next release) will have a command line option that lets you reformat the 'rush -lj' job data completely. No ETA on that release yet.. probably fall 2007. Until then, your script can parse the output of 'rush -ljf +any', which has all the job info as "<Key>: <value>" pairs that are easy to parse from a script, which you can then reformat into a new report. This newsgroup article shows the specifics of how to parse rush output correctly for error messages and warnings: http://seriss.com/cgi-bin/rush/newsgroup-threaded.cgi?-view+1371+1371 > What I want to see are not done percentages, but > done number of frames, and as well, I'd like to see how many frames > there are in a particular job. Your script can parse out the jobids, and then invoke the 'rush -lfi <JOBID>' to gather up that info. The '-lfi' report has probably all of the data about the frames you'd want. In the 102.43 release, all the info currently available in 'rush -ljf' and 'rush -lfi' would be available as column data in 'rush -lj' via the -fmt command line option: rush -lj -fmt "Status:8 Jobid:8 Title" +any ..where the number represents the column width, and the string before the ':' are documented keywords. -- Greg Ercolano, erco@(email surpressed) Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed) Fax: (Tel# suppressed) Cel: (Tel# suppressed) |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: custom rush -laj report columns Date: Wed, 30 May 2007 21:09:15 -0400 |
Msg# 1567 View Complete Thread (3 articles) | All Threads Last Next |
Greg Ercolano wrote: > In the 102.43 release, all the info currently available in > 'rush -ljf' and 'rush -lfi' would be available as column data > in 'rush -lj' via the -fmt command line option: > > rush -lj -fmt "Status:8 Jobid:8 Title" +any > > ..where the number represents the column width, and the string > before the ':' are documented keywords. For those wondering about specifics for this syntax, the current synopsis for the formatting is: <keyword>[:<pad>[.<trunc>]] The column width or <pad> value is similar to printf(); it is an optional signed value; positive values flush left, negative values flush right. <pad> can optionally be followed by .<trunc>, where <trunc> is a truncation width.. again, similar to printf(). Multiple keywords are separated by whitespace, which will be preserved in the report. <keyword> will be shown verbatim as the column's heading. A list of all the keywords is forthcoming, and will be in the docs. Regarding percentages, I offer both, where the keywords are named eg. %Que, Que% and QuePercent (the latter not printing any percent sign). -- Greg Ercolano, erco@(email surpressed) Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed) Fax: (Tel# suppressed) Cel: (Tel# suppressed) |