I guess a complete rephrase is best. What I want is "how many processors does each WAITING job in lsf queues require?". From 'bhist' I get outputs such as below (see whitespace anywhere in "num Processors") and cannot determine a sure way of always parsing it...
Thanks, Michael EXAMPLES: ~/bin$ bhist -l 10418;bhist -l 10587;bhist -l 10601 Job <10418>, Job Name <3d>, User <mbexddg5>, Project <default>, Command <#BSUB -n 128;#BSUB -W 6:00;#BSUB -J 3d;#BSUB -o % J.out;#BSUB -w 'ended(10417)';./cont> Tue Nov 28 21:35:48: Submitted from host <horace3>, to Queue <parallel>, CWD <$ HOME/scratch/3d_newgc>, Output File <%J.out>, 128 Processo rs Requested, Dependency Condition <ended(10417)>; RUNLIMIT 360.0 min of horace3 Summary of time in seconds spent in various states by Wed Nov 29 14:28:16 PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL 60748 0 0 0 0 0 60748 Job <10587>, Job Name <monopolyC>, User <mbdxfsm2>, Project <default>, Command <optimization g03> Wed Nov 29 11:32:34: Submitted from host <horace3>, to Queue <parallel>, CWD <$ HOME>, Output File <monoC.%J>, 99 Processors Requested; RUNLIMIT 1440.0 min of horace3 Summary of time in seconds spent in various states by Wed Nov 29 14:28:16 PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL 10542 0 0 0 0 0 10542 Job <10601>, Job Name <monopolyB>, User <mbdxfsm2>, Project <default>, Command <optimization g03> Wed Nov 29 11:55:26: Submitted from host <horace3>, to Queue <parallel>, CWD <$ HOME>, Output File <monoB.%J>, Error File <error.% J>, 120 Processors Requested; RUNLIMIT 1440.0 min of horace3 Summary of time in seconds spent in various states by Wed Nov 29 14:28:16 PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL 9170 0 0 0 0 0 9170 ~/bin$ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]