Module ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str If CompareEq Call NameLoad NameLoad Num body Return Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Num orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Dict Str ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Dict Str ListComp NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str NameLoad body Return Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str orelse If CompareIn Str NameLoad body Return Call AttributeLoad Str attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A circus.commands.base Command circus.exc ArgumentError circus logger List N/A Command N/A N/A         Get list of watchers or processes in a watcher
        ==============================================

        ZMQ Message
        -----------


        To get the list of all the watchers::

            {
                "command": "list",
            }


        To get the list of active processes in a watcher::

            {
                "command": "list",
                "properties": {
                    "name": "nameofwatcher",
                }
            }


        The response return the list asked. the mapping returned can either be
        'watchers' or 'pids' depending the request.

        Command line
        ------------

        ::

            $ circusctl list [<name>]
     N/A name list message N/A N/A self N/A args opts N/A N/A N/A N/A len args 1 N/A N/A N/A ArgumentError Invalid number of arguments N/A N/A N/A len args 1 N/A N/A N/A N/A self make_message name N/A args N/A 0 N/A N/A N/A N/A self make_message N/A execute N/A N/A self arbiter props N/A N/A N/A N/A name props N/A N/A watcher N/A N/A self _get_watcher arbiter N/A props N/A name N/A processes N/A N/A watcher get_active_processes N/A status N/A N/A N/A p pid N/A p status N/A p processes N/A N/A N/A logger debug N/A here is the status of the processes %s status N/A N/A pids N/A N/A p pid N/A p processes N/A N/A watchers N/A sorted N/A arbiter _watchers_names N/A N/A watchers N/A name N/A name watchers N/A console_msg N/A N/A self msg N/A N/A N/A N/A pids msg N/A N/A N/A N/A , join N/A N/A str process_id N/A process_id N/A N/A msg get pids N/A N/A N/A watchers msg N/A N/A N/A N/A , join N/A watcher N/A watcher N/A N/A msg get watchers N/A N/A reason msg N/A N/A N/A msg N/A reason Response doesn't contain 'pids' nor 'watchers'. N/A N/A N/A self console_error msg N/A N/A