[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] condor_status bug?




Several options of condor status are order-sensitive.
The man page, while involved, is correct in specifying
the order. condor_status -grid -l will work, condor_status -l -grid won't.
\
Steve

On Sat, 12 Jun 2010, Burnett, Ben wrote:

Hey:

I can't recall if this is a know problem or not, but some googling for it did not return any meaningful results.  It seems there is a slight problem with the argument handling in condor_status.  The problem seems to revolve around the use of the -xml argument.  Sometimes, depending on the where in the argument list the -xml option lies, condor_status thinks there is a conflict between it and some other argument condor_status has been given.

For example, when using '-state' condor_status exhibits this behaviour:

$ condor_status -xml -state
Error:  arg 2 (-state) contradicts arg 1 (-xml)

Meanwhile, reversing the arguments works just fine:

$ condor_status -state -xml
<?xml version="1.0"?>
<!DOCTYPE classads SYSTEM "classads.dtd">
<classads>
<c>
   <a n="MyType"><s>Machine</s></a>
   <a n="TargetType"><s>Job</s></a>
...

The same is true for '-submitters', '-any', etc., but not for other arguments like '-attr', '-vm' or '-java'.

Regards,
-B


_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.