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

Re: [HTCondor-users] Xml format from condor_q

Hi Renaud,

I've also recently noticed there are a few issues along these lines.  Examples:

$ condor_q -xml -stream


$ condor_q -global -xml
All queues are empty

You don't happen to be writing this in python, are you?  Locally, we've ditched trying to parse condor_q stdout and use the native bindings.

Another approach is to use:

condor_status -schedd -af Name 

to get the list of schedds, then loop over each of these.


On Dec 11, 2013, at 10:52 AM, Renaud Guezennec <renaud@xxxxxxx> wrote:

> Hi all,
> I'm new in HTCondor community. I'm working on monitoring and administration software to watch HTCondor jobs and pools in my compagny.
> I tried to use "condor_q -global -xml" but the output it is not a well-shaped xml file. Xml parsers run to errors when trying build the tree.
> When I ask for 'condor_q -xml", this output is  a proper XML.
> condor_q -version
> $CondorVersion: 7.8.5 Oct 09 2012 BuildID: 68720 $
> $CondorPlatform: x86_64_deb_6.0 $
> Regards
> Renaud
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/