celery.events.cursesmon

    class celery.events.cursesmon.CursesMonitor(state, app, keymap=None)

    • alert(callback, title=None)[源代码]

    • alert_remote_control_reply(reply)

    • background = 7

    • display_height None[源代码]

    • display_task_row(lineno, task)

    • display_width None[源代码]

    • draw()

    • find_position()[源代码]

    • foreground = 0

    • format_row(uuid, task, worker, timestamp, state)

    • greet = ‘celery events 3.1.7 (Cipater)’

    • help_title = ‘Keys: ‘

    • info_str = ‘Info: ‘

    • init_screen()[源代码]

    • keyalias = {258: ‘J’, 259: ‘K’, 343: ‘I’}

    • keymap = {}

    • limit None

    • move_selection(direction=1)[源代码]

    • move_selection_down()

    • move_selection_up()[源代码]

    • nap()

    • online_str = ‘Workers online: ‘

    • readline(x, y)[源代码]

    • safe_add_str(y, x, string, \args, **kwargs*)

    • screen_delay = 10

    • screen_height None[源代码]

    • screen_width None

    • selected_position = 0

    • selected_str = ‘Selected: ‘

    • selected_task = None

    • selection_info()[源代码]

    • selection_rate_limit()

    • selection_result()[源代码]

    • selection_traceback()

    • tasks None[源代码]

    celery.events.cursesmon.evtop(app=None)