PipelineFX Forum

Qube! => General => Topic started by: cam on January 14, 2010, 12:30:31 PM

Title: commandline query qube?
Post by: cam on January 14, 2010, 12:30:31 PM
Hi support,

Can one query qube via commandline?

Say you know the id of a job can you ping qube and return the status (waiting/blocked/running/finished) or percent done?

Thanks,

cl
Title: Re: commandline query qube?
Post by: shinya on January 14, 2010, 08:56:51 PM
Yes, there are a number of command-line tools, found in QBDIR/bin/ folder,
such as "qbjobs", "qbhosts", etc.

Each command line tools has a "-help" option that'll display its syntax and options.

It's also possible to write your own command line tools using our Python, Perl or
C++ APIs, if you're so inclined.
Title: Re: commandline query qube?
Post by: cam on January 14, 2010, 09:18:22 PM
Hi shinya,

Good info I will have a closer look at the docs.

I think the python api is what I would be after. Embedding submissions scripts into tools like maya seems pretty straighforward. Was curious about embedding simple reporting tool (say progress bars etc.).

thanks,

cl