Am Donnerstag, 8. September 2011, 15:25:29 schrieb Karl Eichwalder:
> I'm wondering what's the best command to check whether a BS is available
> and ready to accept commits? Probably something with "osc api", but
> what's the exact command, please?
You may use
osc api /build/_workerstatus
that is at least what the webui monitor is using. You can find all kind of details about the server state inside. If you get not a 200 HTTP code then there is some trouble :)
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de