Hi Federico,
On 12/23/11 12:16 AM, Federico Maggi wrote:
Even supervisorctl.py uses xmlrpclib instead of the supervisor.rpcinterface
to pilot the supervisor daemon. So, neither here I've found useful
examples.
The supervisor.rpcinterface module contains the server-side implementation
that runs inside supervisord. It is not a client.
My goal is to connect to a running supervisord process and pilot it
programmatically.
Here's an example that uses the client in xmlrpclib:
import xmlrpclib
server = xmlrpclib.Server('http://localhost:9001/RPC2')
server.supervisor.getAllProcessInfo()
Regards,
Mike
--
Mike Naberezny
Maintainable Software
http://maintainable.com
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users