Ciao Riccardo, all,

incidentally, we have met the same need while dealing with qtop.py,
so that test cases can be derived (Sotiris, the main developer is in cc.)

In fact, qtop/0.8.7 was just released today (see http://github.com/qtop/qtop);
that has under ./contrib a few .txt files with such examples. We have at least 
another
200 systems in a certain server in Athens, but it’s gLite-grid-derived since 
ages ago
and very heavily biased in favour of PBS outputs - is that of any interest?

Some more random bits of info:
* The list of output (files) which are relevant for qtop on a per batch system 
basis, are visible here:
  https://github.com/qtop/qtop/blob/master/qtopconf.yaml#L16
* most recent qtop.py can convert from these inputs to a certain json output, 
if that helps you in any way
* it can also do an *anonymization* step, which is super handy for regulated 
(ie. private) systems,
  so that more sysadmins can provide inputs for testing. It’s not final, but 
it’s reasonable for now.
* it might just be possible to run a super-collection script under the gLite 
ATLAS VO context, for your needs.

if you see some synergy, please let’s follow it up.

cheers, F.

On Feb 19, 2016, at 8:39 PM, Riccardo Murri <[email protected]> wrote:
> Hello,
> 
> please pardon me for this off-topic posting, but I guess many of the
> readers of this list deal with batch-queueing systems on a daily basis
> so it's probably the quickest way to gather the info I need.
> 
> I'm trying to update the test suite of GC3Pie; in particular, I would
> like to be sure that parsing of the output of batch-system commands is
> correct.  Many of the examples used in the test suite date back to 2012
> so they might be out of date with recent versions of the software.
> 
> If you have access to a batch system of the kind listed below, could you
> please send me the output of the given commands and the version of the
> batch-system software in use?  Thank you very much in advance!
> 
> 
> Grid Engine family
> ------------------
> 
> I'd need examples for:
> 
> * Univa Grid Engine (any version)
> * Son of Grid Engine 8.*
> * Open Grid Scheduler (any version)
> 
> The outputs I need are:
> 
> * qsub -N some_name script.sh
> * qstat | egrep "^ *$JOBID"  # where $JOBID is a running job -- also without 
> the `| egrep` part
> * qstat | egrep "^ *$JOBID"  # where $JOBID is a finished job -- also without 
> the `| egrep` part
> * qacct -j $JOBID  # where $JOBID is a finished job
> * qacct -j $JOBID  # where $JOBID is invalid (i.e., non job with that ID was 
> ever run)
> * qstat -U $USER
> * qstat -F -U $USER
> 
> 
> PBS/TORQUE family
> -----------------
> 
> I would need examples for:
> 
> * PBS Pro (any version)
> * TORQUE 3.*/4.*/5.*
> 
> The commands whose output I need are:
> 
> * qsub script.sh
> * qstat $JOBID  # where $JOBID is a running job
> * qstat $JOBID  # where $JOBID is a finished job
> * tracejob $JOBID     # TORQUE only; where $JOBID is a finished job
> * tracejob $JOBID     # TORQUE only; where $JOBID is invalid (i.e., no job by 
> that ID was ever run)
> * qstat -x -f $JOBID  # PBSPro only; where $JOBID is a finished job
> * qstat -x -f $JOBID  # PBSPro only; where $JOBID is invalid (i.e., no job by 
> that ID was ever run)
> * qstat -a
> 
> 
> LSF / OpenLava
> --------------
> 
> I would need examples for LSF and OpenLava, any version.
> 
> The commands whose output I need are:
> 
> * bsub script.sh
> * bjobs -l $JOBID  # where $JOBID is a running job
> * bjobs -l $JOBID  # where $JOBID is a finished job
> * bacct -l $JOBID  # where $JOBID is a running job
> * bacct -l $JOBID  # where $JOBID is a finished job
> * lshosts -w
> * bjobs -u all -w
> 
> Thank you for any contribution!
> 
> 
> Ciao,
> R
> 
> --
> Riccardo Murri
> http://www.s3it.uzh.ch/about/team/#Riccardo.Murri
> 
> S3IT: Services and Support for Science IT
> University of Zurich
> Winterthurerstrasse 190, CH-8057 Zürich (Switzerland)
> 
> Tel: +41 44 635 4297
> Fax: +41 44 635 6888

-- 
echo "sysadmin know better bash than english" | sed s/min/mins/ \
  | sed 's/better bash/bash better/' # signal detected in a CERN forum






Reply via email to