Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias TryExcept body Import alias alias handlers ExceptHandler type NameLoad body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body TryExcept body Return CompareEq Call AttributeLoad NameLoad attr ListLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Num ListLoad NameLoad Num Num Str ListLoad ListLoad ListLoad Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Str Str Assign NameStore ListLoad Assign NameStore ListLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Num Str Str Str Str Call NameLoad Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return SubscriptLoad NameLoad Slice Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Break Expr Call AttributeLoad NameLoad attr Num If CompareIs AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse If CompareEq AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore BinOpAdd Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Pass Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad For NameStore ListLoad Str Str Str Str Str Str Str Str body If CompareLt Call NameLoad NameLoad Num body Return Call AttributeLoad Str attr NameLoad NameLoad NameLoad AugAssignDiv NameStore Num Return BinOpMod Str TupleLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpMod NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num If NameLoad body Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad orelse Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Return BinOpMult Call NameLoad SubscriptLoad NameLoad Index Num Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler body Assign NameStore NameLoad If BoolOpAnd CompareNotEq NameLoad NameLoad CompareNotEq NameLoad Num body If CompareEq NameLoad Num body Assign NameStore ListLoad Str NameLoad If CompareEq NameLoad Str body Assign NameStore ListLoad Str orelse Assign NameStore ListLoad Str Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr orelse With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr SubscriptLoad AttributeLoad NameLoad attr Slice Call NameLoad AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr TryExcept body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad body Return Str orelse If Call AttributeLoad NameLoad attr Str body Return Str orelse If Call AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num If Call AttributeLoad NameLoad attr Str body If Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad body Return Str Return Str orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body Return Str orelse If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareNotEq NameLoad Str NameLoad body Return Str orelse Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler body Pass TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If BoolOpOr CompareEq NameLoad Str CompareIn Str NameLoad CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn Str SubscriptLoad NameLoad Index Num body Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr Str NameLoad Num comprehension NameStore NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareEq SubscriptLoad NameLoad Index Num Str body Continue Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq SubscriptLoad NameLoad Index Num Str body Continue For NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body If BoolOpAnd CompareIn NameLoad NameLoad CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Return Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad If CompareNotEq Call AttributeLoad NameLoad attr Num body Assign NameStore ListLoad Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Dict Str Str Num Num If CompareIn AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str attr body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Index NameLoad BinOpSub NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Index NameLoad If CompareIn Str NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad TryExcept body Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Dict Str Num handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Raise If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Index Str Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Index Str BinOpSub NameLoad NameLoad If CompareIn Str NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareIn Str NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body If CompareEq AttributeLoad NameLoad attr Str body Continue Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index Str SubscriptLoad NameLoad Index Str If NameLoad body Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr Str body If CompareEq NameLoad Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq Call NameLoad NameLoad Num body Continue Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpAdd Str NameLoad If CompareNotIn Str SubscriptLoad NameLoad Index NameLoad body Continue Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad Num Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore BinOpMult BinOpMult SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Call NameLoad Call AttributeLoad NameLoad attr Str Str Call NameLoad Call AttributeLoad NameLoad attr Str Str Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Num Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Num BinOpDiv Call AttributeLoad NameLoad attr Str Num NameLoad BinOpDiv Call AttributeLoad NameLoad attr Str Num NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Num NameLoad Assign SubscriptStore NameLoad Index Str TupleLoad BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpDiv SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num ListLoad Str body If CompareNotIn NameLoad NameLoad body Return For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad BinOpSub Call NameLoad SubscriptLoad NameLoad Index NameLoad Num body Assign SubscriptStore NameLoad Index Str BinOpAdd NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad ListLoad Str Str Str orelse Assign SubscriptStore NameLoad Index Str BinOpAdd NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad ListLoad AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad NameLoad BinOpAdd NameLoad Num NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad body If Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot SubscriptLoad NameLoad Index Str body If UnaryOpNot SubscriptLoad NameLoad Index Str body Return NameLoad Return ListComp NameLoad comprehension NameStore NameLoad CompareIn SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num keyword UnaryOpNot SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad If SubscriptLoad NameLoad Index Str body While NameLoad body TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Break handlers ExceptHandler body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str Call NameLoad BinOpSub Call NameLoad NameLoad Num SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad Num Assign NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad NameLoad If CompareLt SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareGt BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str BinOpSub NameLoad Num body Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpSub SubscriptLoad NameLoad Index Str NameLoad Num orelse If CompareGt SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Num Num BinOpMult Str NameLoad Call AttributeLoad NameLoad attr Num For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Num TryExcept body Expr Call AttributeLoad NameLoad attr Num NameLoad BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Break If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Num For NameStore SubscriptLoad NameLoad Slice SubscriptLoad NameLoad Index Str body Assign NameStore Num If CompareEq BinOpSub NameLoad Num BinOpSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num orelse Assign TupleStore NameStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num BinOpMult Str NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Break TryExcept body For NameStore NameLoad body Assign NameStore BinOpMod AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str body Assign NameStore BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str For NameStore Call AttributeLoad NameLoad attr Str ListLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad Str NameLoad If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass AugAssignAdd NameStore Num orelse TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num BinOpMult Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Num TryExcept body Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Num BinOpMult Str NameLoad NameLoad handlers ExceptHandler body Pass Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Num Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str IfExp SubscriptLoad NameLoad Index Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str IfExp SubscriptLoad NameLoad Index Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str IfExp SubscriptLoad NameLoad Index Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str IfExp CompareIn SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpOr BoolOpAnd CompareEq NameLoad Str NameLoad BoolOpAnd CompareIn NameLoad ListLoad Str Str NameLoad BoolOpAnd CompareEq NameLoad Str NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq NameLoad Call NameLoad Str body Raise Call NameLoad orelse If CompareEq NameLoad Call NameLoad Str body Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Call NameLoad Str body Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str Return Num orelse If BoolOpOr CompareEq NameLoad Call NameLoad Str CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareIn NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Return Num orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call NameLoad Num ListLoad Str Str NameLoad keyword NameLoad orelse If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Str Str keyword NameLoad orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad keyword NameLoad Return Num orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call NameLoad Num ListLoad Str Str Str NameLoad Str keyword NameLoad orelse If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Str Str keyword NameLoad orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad keyword NameLoad Return Num orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call NameLoad Num ListLoad Str Str NameLoad orelse If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Str Str orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Return Num orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Return Num orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call NameLoad Num ListLoad Str Str Str Str NameLoad orelse If BoolOpAnd CompareIn SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str Str NameLoad Str orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str ListLoad Str Str NameLoad Str Return Num orelse If CompareEq NameLoad Num body Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str Return Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad BinOpAdd NameLoad Num BinOpSub Call NameLoad SubscriptLoad NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Return Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad BinOpSub NameLoad Num Num Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Return Num Return Num decorator_list FunctionDef arguments args defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad Num body Assign NameStore Num For NameStore NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr orelse If CompareLt NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr orelse AugAssignAdd NameStore BinOpAdd AttributeLoad NameLoad attr Num Continue Return Num orelse If CompareLtE NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body If SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index BinOpSub NameLoad Num orelse Assign SubscriptStore NameLoad Index Str BinOpSub NameLoad Num Return Num Return Num decorator_list FunctionDef arguments args defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Return Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad orelse Return Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Num decorator_list FunctionDef arguments args defaults body Delete SubscriptDel NameLoad Slice For NameStore BinOpAdd SubscriptLoad NameLoad Index Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr If Call NameLoad Str body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body TryExcept body Expr Call AttributeLoad NameLoad attr Num handlers ExceptHandler body Pass decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad Assign SubscriptStore NameLoad Index Str BoolOpOr AttributeLoad NameLoad attr Call NameLoad Assign SubscriptStore NameLoad Index Str BoolOpOr AttributeLoad NameLoad attr Call NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Continue If UnaryOpNot CompareIn NameLoad NameLoad body Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call NameLoad If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign SubscriptStore NameLoad Index Str AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Call NameLoad NameLoad Dict Str Str Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Expr Call NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num While NameLoad body Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr While BoolOpOr SubscriptLoad NameLoad Index Str CompareLt Call AttributeLoad NameLoad attr BinOpAdd NameLoad SubscriptLoad NameLoad Index Str body If SubscriptLoad NameLoad Index Str body Assign NameStore Num orelse Assign NameStore Call NameLoad BinOpMult BinOpSub BinOpAdd NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq NameLoad Num body Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareLt Call NameLoad NameLoad Num body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Monitor local cgroups as used by Docker, LXC, SystemD, ...

Usage:
  ctop [--tree] [--refresh=<seconds>] [--columns=<columns>] [--sort-col=<sort-col>] [--follow=<name>] [--fold=<cgroup>, ...]
  ctop (-h | --help)

Options:
  --tree                 Show tree view by default.
  --fold=<name>          Start with <name> cgroup path folded
  --follow=<name>        Follow/highlight cgroup at path.
  --refresh=<seconds>    Refresh display every <seconds> [default: 1].
  --columns=<columns>    List of optional columns to display. Always includes 'name'. [default: owner,processes,memory,cpu-sys,cpu-user,blkio,cpu-time].
  --sort-col=<sort-col>  Select column to sort by initially. Can be changed dynamically. [default: cpu-user]
  --type=[types]         Only keep containers of this types
  -h --help              Show this screen.

 __future__ print_function N/A os N/A re N/A sys N/A stat N/A pwd N/A time N/A pty N/A errno N/A subprocess N/A multiprocessing N/A json collections defaultdict collections namedtuple optparse OptionParser N/A N/A N/A curses _curses N/A N/A N/A ImportError N/A N/A N/A print Curse is not available on this system. Exiting. file N/A sys stderr N/A N/A N/A sys exit 0 cmd_exists N/A N/A cmd N/A N/A N/A N/A N/A N/A N/A N/A subprocess call N/A which cmd stdout N/A subprocess PIPE stderr N/A subprocess PIPE 0 N/A N/A N/A OSError N/A N/A False N/A N/A HAS_LXC N/A cmd_exists lxc-start N/A HAS_DOCKER N/A cmd_exists docker N/A HAS_OPENVZ N/A cmd_exists vzctl N/A regexp_ovz_container N/A N/A re compile ^/\d+$ N/A HIDE_EMPTY_CGROUP True N/A CGROUP_MOUNTPOINTS N/A N/A CONFIGURATION N/A sort_by sort_asc tree follow pause_refresh refresh_interval columns selected_line offset selected_line_num selected_line_name cgroups fold type cpu_total False False False False 1.0 N/A None 0 0 / N/A N/A N/A N/A Column N/A namedtuple Column N/A title width align col_fmt col_data col_sort N/A COLUMNS N/A N/A COLUMNS_MANDATORY N/A name N/A COLUMNS_AVAILABLE N/A owner type processes memory cpu-sys cpu-user blkio cpu-time name N/A Column OWNER 10 < {0:%ss} owner owner N/A Column TYPE 10 < {0:%ss} type type N/A Column PROC 11 > {0:%ss} tasks tasks N/A Column MEMORY 17 ^ {0:%ss} memory_cur_str memory_cur_bytes N/A Column SYST 5 ^ {0: >%s.1%%} cpu_syst cpu_total N/A Column USER 5 ^ {0: >%s.1%%} cpu_user cpu_total N/A Column BLKIO 10 ^ {0: >%s} blkio_bw blkio_bw_bytes N/A Column TIME+ 14 ^ {0: >%ss} cpu_total_str cpu_total_seconds N/A Column CGROUP < {0:%ss} cgroup cgroup N/A DOCKER_PREFIXES N/A /docker/ /system.slice/docker- /system.slice/docker/ strip_prefix N/A N/A prefix text N/A N/A N/A N/A N/A text startswith prefix N/A N/A N/A text N/A N/A len prefix N/A text N/A docker_container_name N/A N/A container_id default cache N/A N/A dict N/A N/A cached_name N/A N/A cache get container_id N/A cached_name N/A N/A cached_name N/A N/A N/A sp N/A N/A subprocess Popen N/A docker inspect container_id stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A OSError N/A N/A N/A cache N/A container_id default N/A default N/A _ N/A range 10 N/A N/A N/A N/A sp poll N/A N/A N/A sp returncode None N/A N/A N/A N/A N/A time sleep 0.1 N/A N/A N/A sp returncode None N/A N/A N/A N/A N/A N/A sp kill N/A N/A N/A OSError N/A N/A N/A N/A N/A N/A sp returncode 0 N/A N/A N/A stdout _stderr N/A N/A sp communicate N/A N/A N/A containers N/A N/A json loads stdout N/A N/A N/A len containers 1 N/A N/A container N/A containers N/A 0 N/A container_name N/A N/A N/A container N/A Name lstrip / N/A name N/A /docker/ container_name N/A N/A cache N/A container_id name N/A name N/A N/A N/A Exception N/A N/A N/A N/A cache N/A container_id default N/A default N/A to_human N/A N/A num suffix N/A B N/A N/A num N/A int num N/A unit N/A K M G T P E Z N/A N/A N/A N/A abs num 1024.0 N/A N/A N/A N/A {0:.1f}{1}{2} format num unit suffix N/A num 1024.0 N/A N/A {0:5.1d}{1}{2} N/A num Y suffix N/A div N/A N/A num by N/A N/A N/A res N/A num by N/A mod N/A num by N/A N/A res mod N/A to_human_time N/A N/A seconds N/A N/A N/A N/A minutes seconds N/A div seconds 60 N/A N/A hours minutes N/A div minutes 60 N/A N/A days hours N/A div hours 24 N/A days N/A N/A N/A %3dd %02d:%02d.%02d N/A days hours minutes seconds N/A N/A N/A %02d:%02d.%02d N/A hours minutes seconds N/A get_total_memory N/A N/A N/A N/A N/A 
    Get total memory from /proc if available.
     N/A N/A N/A N/A open /proc/meminfo f N/A N/A content N/A N/A f read N/A N/A N/A OSError N/A N/A content N/A line N/A N/A content split N/A N/A fields N/A N/A re split  + line N/A N/A N/A N/A N/A fields N/A 0 strip MemTotal: N/A N/A N/A N/A int N/A fields N/A 1 1024 N/A -1 N/A run N/A N/A user cmd interactive N/A False N/A N/A 
    Run ``cmd`` as ``user``. If ``interactive`` is True, save any curses status
    and synchronously run the command in foreground. Otherwise, run the command
    in background, discarding any output.

    special user -2 means: current user
     N/A prefix N/A N/A cur_uid N/A N/A os getuid N/A N/A N/A cur_user N/A N/A N/A pwd getpwuid cur_uid pw_name N/A N/A N/A N/A cur_user cur_uid N/A N/A N/A user cur_user N/A user -2 N/A N/A N/A cur_uid 0 N/A N/A prefix N/A su user N/A N/A user root N/A N/A prefix N/A sudo N/A N/A prefix N/A sudo -u user N/A interactive N/A N/A N/A N/A curses savetty N/A N/A N/A curses nocbreak N/A N/A N/A curses echo N/A N/A N/A curses endwin N/A N/A N/A pty spawn N/A prefix cmd N/A N/A init_screen N/A N/A N/A curses resetty N/A N/A N/A open /dev/null w dev_null N/A N/A N/A N/A subprocess Popen N/A prefix cmd stdout dev_null stderr dev_null close_fds True N/A Cgroup N/A object N/A __init__ N/A N/A self path base_path N/A N/A N/A N/A self path path N/A N/A self base_path base_path N/A short_path N/A N/A self N/A N/A N/A N/A N/A N/A self path N/A N/A len N/A self base_path / N/A property name N/A N/A self N/A N/A N/A N/A HAS_DOCKER N/A N/A self type docker N/A N/A container_id N/A self short_path N/A prefix DOCKER_PREFIXES N/A N/A container_id N/A strip_prefix prefix container_id N/A N/A docker_container_name container_id default N/A self short_path N/A N/A self short_path N/A property owner N/A N/A self N/A N/A N/A path N/A N/A N/A os path join N/A self base_path N/A self path tasks N/A uid N/A N/A N/A os stat path st_uid N/A N/A N/A N/A N/A N/A pwd getpwuid uid pw_name N/A N/A N/A N/A uid N/A property type N/A N/A self N/A N/A N/A path N/A self short_path N/A N/A any N/A N/A N/A path startswith prefix N/A prefix DOCKER_PREFIXES N/A N/A docker N/A N/A N/A N/A path startswith /lxc/ N/A N/A lxc N/A N/A N/A N/A path startswith /user.slice/ N/A N/A N/A _ parent name N/A N/A path rsplit / 2 N/A N/A N/A parent endswith .scope N/A N/A N/A N/A N/A os path isdir N/A /home/%s/.local/share/lxc/%s N/A N/A self owner name N/A N/A lxc-user N/A systemd N/A N/A N/A N/A path /user.slice N/A path /system.slice N/A N/A path startswith /system.slice/ N/A N/A systemd N/A N/A N/A N/A N/A regexp_ovz_container match path N/A path /0 HAS_OPENVZ N/A N/A openvz N/A N/A - N/A property _coerce N/A N/A self value N/A N/A N/A N/A N/A N/A int value N/A N/A N/A N/A N/A N/A N/A N/A float value N/A N/A N/A N/A N/A value N/A __getitem__ N/A N/A self name N/A N/A N/A path N/A N/A N/A os path join N/A self base_path N/A self path name N/A N/A open path f N/A N/A content N/A N/A N/A N/A f read strip N/A N/A N/A name tasks N/A content N/A content N/A N/A content N/A N/A content split N/A N/A N/A content N/A 0 N/A N/A content N/A dict N/A N/A N/A re split  + l 1 N/A l content content N/A N/A k v N/A N/A content items N/A N/A N/A content N/A k N/A N/A self _coerce v N/A N/A content N/A N/A N/A self _coerce v N/A v content v N/A N/A content N/A N/A self _coerce content N/A content N/A N/A cgroups N/A N/A base_path N/A N/A N/A 
    Generator of cgroups under path ``name``
     N/A N/A cgroup_path dirs files N/A N/A os walk base_path N/A N/A N/A N/A Cgroup cgroup_path base_path N/A init N/A N/A N/A N/A N/A N/A open /proc/cgroups f N/A N/A cgroups N/A N/A N/A N/A f read strip N/A subsystems N/A N/A cgroup N/A N/A cgroups split N/A N/A N/A N/A cgroup N/A 0 # N/A N/A N/A N/A N/A subsystems append N/A N/A N/A cgroup split N/A 0 N/A N/A open /proc/mounts f N/A N/A mounts N/A N/A N/A N/A f read strip N/A mount N/A N/A mounts split N/A N/A mount N/A N/A mount split N/A N/A N/A mount N/A 2 cgroup N/A N/A N/A arg N/A N/A N/A mount N/A 3 split , N/A N/A N/A N/A arg subsystems N/A arg CGROUP_MOUNTPOINTS N/A N/A N/A CGROUP_MOUNTPOINTS N/A arg N/A mount N/A 1 N/A collect_ensure_common N/A N/A data cgroup N/A N/A N/A 
    Some cgroup exists in only one controller. Attempt to collect common metrics
    (tasks clount, owner, ...) from the first controller we find the task in.
     N/A N/A tasks data N/A N/A N/A N/A data N/A tasks N/A cgroup N/A tasks N/A N/A data N/A owner N/A cgroup owner N/A N/A data N/A type N/A cgroup type N/A get_user_beacounts N/A N/A N/A N/A N/A 
    get memory stats(via privvmpages) from vzlist output to openvz containers
     N/A prefix N/A N/A N/A N/A N/A os getuid 0 N/A N/A prefix N/A sudo N/A command N/A prefix N/A vzlist -o ctid,privvmpages,privvmpages.l -H N/A N/A output err N/A N/A N/A N/A subprocess Popen command shell False stdout N/A subprocess PIPE communicate N/A output N/A collect N/A N/A measures N/A N/A N/A cur N/A defaultdict dict N/A prev N/A measures N/A data N/A N/A cpuacct CGROUP_MOUNTPOINTS N/A N/A cgroup N/A cgroups N/A CGROUP_MOUNTPOINTS N/A cpuacct N/A N/A N/A collect_ensure_common N/A cur N/A N/A cgroup name cgroup N/A N/A N/A cur N/A N/A cgroup name N/A cpuacct.stat N/A cgroup N/A cpuacct.stat N/A N/A N/A cur N/A N/A cgroup name N/A cpuacct.stat.diff N/A user system 0 0 N/A N/A N/A cgroup name prev N/A N/A N/A key value N/A N/A N/A N/A cur N/A N/A cgroup name N/A cpuacct.stat items N/A N/A N/A N/A N/A cur N/A N/A cgroup name N/A cpuacct.stat.diff N/A key N/A value N/A N/A N/A prev N/A N/A cgroup name N/A cpuacct.stat N/A key N/A N/A blkio CGROUP_MOUNTPOINTS N/A N/A cgroup N/A cgroups N/A CGROUP_MOUNTPOINTS N/A blkio N/A N/A N/A collect_ensure_common N/A cur N/A N/A cgroup name cgroup N/A N/A N/A N/A N/A cur N/A N/A cgroup name N/A blkio.throttle.io_service_bytes N/A cgroup N/A blkio.throttle.io_service_bytes N/A N/A N/A cur N/A N/A cgroup name N/A blkio.throttle.io_service_bytes.diff N/A total 0 N/A N/A N/A IOError N/A e N/A N/A N/A N/A e errno N/A errno ENOENT N/A N/A N/A N/A N/A N/A cgroup name prev N/A N/A cur_val N/A N/A N/A cur N/A N/A cgroup name N/A blkio.throttle.io_service_bytes N/A Total N/A prev_val N/A N/A N/A prev N/A N/A cgroup name N/A blkio.throttle.io_service_bytes N/A Total N/A N/A N/A N/A cur N/A N/A cgroup name N/A blkio.throttle.io_service_bytes.diff N/A total N/A cur_val prev_val N/A N/A memory CGROUP_MOUNTPOINTS N/A N/A cgroup N/A cgroups N/A CGROUP_MOUNTPOINTS N/A memory N/A N/A N/A collect_ensure_common N/A cur N/A N/A cgroup name cgroup N/A N/A N/A cur N/A N/A cgroup name N/A memory.usage_in_bytes N/A cgroup N/A memory.usage_in_bytes N/A N/A N/A cur N/A N/A cgroup name N/A memory.limit_in_bytes N/A min N/A int N/A cgroup N/A memory.limit_in_bytes N/A N/A measures N/A global N/A total_memory N/A N/A pids CGROUP_MOUNTPOINTS N/A N/A cgroup N/A cgroups N/A CGROUP_MOUNTPOINTS N/A pids N/A N/A N/A N/A cgroup name / N/A N/A N/A N/A collect_ensure_common N/A cur N/A N/A cgroup name cgroup N/A N/A N/A cur N/A N/A cgroup name N/A pids.max N/A cgroup N/A pids.max N/A HAS_OPENVZ N/A N/A user_beancounters N/A get_user_beacounts N/A line N/A N/A user_beancounters split N/A N/A N/A line N/A N/A N/A line N/A N/A re sub ^\s+ line N/A splited_line N/A N/A re split \s+ line N/A N/A N/A len splited_line 3 N/A N/A N/A N/A ctid privvmpages limit splited_line N/A ctid N/A / ctid N/A N/A tasks N/A cur N/A ctid N/A N/A N/A privvmpages N/A int privvmpages N/A privvmpages N/A privvmpages 4096 N/A limit N/A int limit N/A limit N/A limit 4096 N/A N/A N/A cur N/A ctid N/A memory.usage_in_bytes privvmpages N/A N/A N/A cur N/A ctid N/A memory.limit_in_bytes N/A min limit N/A N/A measures N/A global N/A total_memory N/A N/A N/A len cur N/A N/A N/A KeyboardInterrupt N/A N/A measures N/A data cur N/A built_statistics N/A N/A measures conf N/A N/A N/A prev_time N/A N/A N/A measures N/A global get time -1 N/A cur_time N/A N/A time time N/A time_delta N/A cur_time prev_time N/A N/A N/A measures N/A global N/A time cur_time N/A cpu_to_percent N/A N/A N/A N/A measures N/A global N/A scheduler_frequency N/A N/A measures N/A global N/A total_cpu time_delta N/A results N/A N/A N/A cgroup data N/A N/A N/A measures N/A data items N/A N/A cpu_usage N/A N/A data get cpuacct.stat.diff N/A N/A line N/A owner type cur_tasks max_tasks memory_cur_bytes memory_limit_bytes cpu_total_seconds cpu_syst cpu_user blkio_bw_bytes cgroup N/A str N/A N/A data get owner nobody N/A str N/A N/A data get type cgroup N/A len N/A data N/A tasks N/A N/A data get pids.max max N/A N/A data get memory.usage_in_bytes 0 N/A N/A data get memory.limit_in_bytes N/A N/A measures N/A global N/A total_memory N/A N/A N/A N/A N/A data get cpuacct.stat N/A get system 0 N/A N/A N/A N/A data get cpuacct.stat N/A get user 0 N/A N/A N/A cpu_usage get system 0 cpu_to_percent N/A N/A N/A cpu_usage get user 0 cpu_to_percent N/A N/A N/A N/A data get blkio.throttle.io_service_bytes.diff N/A get total 0 cgroup N/A N/A line N/A cpu_total N/A N/A N/A line N/A cpu_syst N/A line N/A cpu_user N/A N/A line N/A cpu_total_str N/A to_human_time N/A line N/A cpu_total_seconds N/A N/A line N/A memory_cur_percent N/A N/A line N/A memory_cur_bytes N/A line N/A memory_limit_bytes N/A N/A line N/A memory_cur_str N/A N/A {0: >7}/{1: <7} format N/A to_human N/A line N/A memory_cur_bytes N/A to_human N/A line N/A memory_limit_bytes N/A N/A line N/A tasks N/A N/A {0: >5}/{1: <5} format N/A line N/A cur_tasks N/A line N/A max_tasks N/A N/A line N/A blkio_bw N/A to_human N/A line N/A blkio_bw_bytes B/s N/A N/A N/A results append line N/A results N/A render_tree N/A N/A results tree level prefix node N/A 0 N/A / N/A N/A N/A node tree N/A N/A N/A N/A i line N/A enumerate N/A tree N/A node N/A N/A cgroup N/A line N/A cgroup N/A N/A i N/A N/A len N/A tree N/A node 1 N/A N/A N/A line N/A _tree N/A prefix N/A N/A curses ACS_LLCORNER N/A curses ACS_HLINE N/A _child_prefix N/A prefix N/A N/A N/A N/A line N/A _tree N/A prefix N/A N/A curses ACS_LTEE N/A curses ACS_HLINE N/A _child_prefix N/A prefix N/A N/A curses ACS_VLINE N/A N/A N/A results append line N/A N/A cgroup N/A CONFIGURATION N/A fold N/A N/A N/A render_tree results tree N/A level 1 _child_prefix cgroup N/A N/A N/A N/A line N/A _tree N/A -2 + N/A filter_tree N/A N/A tree keep node N/A / N/A N/A 
    Keep a branch if and only if it is of of a 'keep' type or has a child of
    the 'keep' type
     N/A filtered N/A N/A cgroup N/A N/A tree get node N/A N/A N/A N/A filter_tree tree keep N/A cgroup N/A cgroup N/A N/A N/A N/A filtered append cgroup N/A N/A N/A N/A cgroup N/A type keep N/A N/A N/A N/A filtered append cgroup N/A filtered N/A N/A N/A tree N/A node filtered N/A N/A N/A N/A tree pop node None N/A N/A bool filtered N/A prepare_tree N/A N/A results N/A N/A N/A 
    Filter results for matching types and render tree
     N/A N/A N/A CONFIGURATION N/A tree N/A N/A N/A N/A CONFIGURATION N/A type N/A N/A results N/A N/A l N/A l results N/A N/A l N/A type N/A CONFIGURATION N/A type N/A tree N/A N/A rendered N/A N/A line results N/A N/A cgroup N/A line N/A cgroup N/A parent N/A N/A N/A os path dirname cgroup N/A N/A parent cgroup N/A N/A N/A N/A rendered append line N/A N/A N/A parent tree N/A N/A N/A tree N/A parent N/A N/A N/A N/A N/A tree N/A parent append line N/A N/A CONFIGURATION N/A type N/A N/A N/A filter_tree tree N/A CONFIGURATION N/A type N/A N/A render_tree rendered tree N/A rendered N/A display N/A N/A scr results conf N/A N/A N/A results N/A sorted results key N/A N/A N/A line N/A N/A N/A line get N/A conf N/A sort_by 0 reverse N/A N/A conf N/A sort_asc N/A results N/A prepare_tree results N/A N/A CONFIGURATION N/A cgroups N/A N/A cgroup N/A cgroup N/A cgroup results N/A N/A CONFIGURATION N/A follow N/A N/A True N/A N/A N/A N/A i N/A N/A N/A CONFIGURATION N/A cgroups index N/A CONFIGURATION N/A selected_line_name N/A N/A CONFIGURATION N/A selected_line_num i N/A N/A N/A N/A N/A N/A CONFIGURATION N/A selected_line_name N/A N/A N/A os path dirname N/A CONFIGURATION N/A selected_line_name N/A N/A N/A CONFIGURATION N/A selected_line_num N/A min N/A N/A len results 1 N/A CONFIGURATION N/A selected_line_num N/A N/A CONFIGURATION N/A selected_line_name N/A N/A CONFIGURATION N/A cgroups N/A N/A CONFIGURATION N/A selected_line_num N/A N/A CONFIGURATION N/A selected_line N/A results N/A N/A CONFIGURATION N/A selected_line_num N/A N/A height width N/A N/A scr getmaxyx N/A list_height N/A height 2 N/A max_offset N/A max 0 N/A N/A len results list_height N/A N/A N/A CONFIGURATION N/A selected_line_num N/A CONFIGURATION N/A offset N/A N/A N/A CONFIGURATION N/A offset N/A CONFIGURATION N/A selected_line_num N/A N/A N/A N/A N/A CONFIGURATION N/A selected_line_num N/A CONFIGURATION N/A offset N/A list_height 1 N/A N/A N/A CONFIGURATION N/A offset N/A N/A N/A CONFIGURATION N/A selected_line_num list_height 1 N/A N/A N/A N/A CONFIGURATION N/A offset max_offset N/A N/A N/A CONFIGURATION N/A offset max_offset N/A N/A N/A scr clear N/A x 0 N/A line_tpl N/A N/A N/A N/A scr addstr 0 0 N/A width N/A N/A curses color_pair 1 N/A col COLUMNS N/A N/A title_fmt N/A {0:%s%ss} N/A N/A col align N/A col width N/A N/A N/A line_tpl append N/A N/A col col_fmt N/A col width N/A color N/A N/A N/A col col_sort N/A conf N/A sort_by 2 1 N/A N/A N/A N/A N/A scr addstr 0 x N/A N/A N/A title_fmt format N/A col title N/A N/A curses color_pair color N/A N/A N/A N/A N/A N/A col width N/A N/A x N/A N/A col width 1 N/A lineno 1 N/A line N/A results N/A N/A CONFIGURATION N/A offset N/A N/A y 0 N/A N/A N/A lineno 1 N/A N/A CONFIGURATION N/A selected_line_num N/A CONFIGURATION N/A offset N/A N/A N/A col_reg col_tree N/A N/A N/A curses color_pair 2 N/A N/A curses color_pair 2 N/A N/A N/A col_reg col_tree colors N/A N/A N/A curses color_pair 0 N/A N/A curses color_pair 4 N/A N/A N/A N/A N/A scr addstr lineno 0 N/A width col_reg N/A N/A N/A N/A _curses error N/A N/A N/A N/A N/A col COLUMNS N/A N/A cell_tpl N/A N/A col col_fmt N/A N/A col width N/A col width 1 N/A data_point N/A N/A line get N/A col col_data N/A N/A N/A N/A col title CGROUP N/A CONFIGURATION N/A tree N/A N/A data_point N/A N/A N/A N/A os path basename data_point [root] N/A c N/A N/A line get _tree N/A N/A N/A N/A N/A scr addch c col_tree N/A y 1 N/A N/A N/A scr addstr lineno y N/A N/A N/A cell_tpl format data_point col_reg N/A N/A col width N/A N/A y N/A N/A col width 1 N/A N/A N/A N/A _curses error N/A N/A N/A lineno 1 N/A N/A N/A N/A N/A N/A scr addstr lineno 0 N/A width N/A N/A N/A N/A _curses error N/A N/A N/A N/A N/A color N/A N/A curses color_pair 2 N/A N/A N/A N/A N/A scr addstr N/A height 1 0 N/A width color N/A N/A N/A N/A N/A selected N/A results N/A N/A CONFIGURATION N/A selected_line_num N/A N/A N/A scr addstr N/A height 1 0  CTOP  color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A N/A N/A scr addstr N/A  [P]ause:  N/A N/A CONFIGURATION N/A pause_refresh On  Off  color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A N/A N/A scr addstr N/A  [F]ollow:  N/A N/A CONFIGURATION N/A follow On  Off  color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A N/A N/A scr addstr N/A  [F5] Toggle %s view  N/A N/A CONFIGURATION N/A tree list tree color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A N/A CONFIGURATION N/A tree N/A N/A N/A N/A scr addstr N/A  [+/-] %s  N/A N/A N/A selected N/A cgroup N/A CONFIGURATION N/A fold unfold fold color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A selected_type N/A selected N/A type N/A N/A N/A N/A selected_type docker HAS_DOCKER N/A N/A selected_type N/A lxc lxc-user HAS_LXC N/A N/A selected_type openvz HAS_OPENVZ N/A N/A N/A selected_type openvz N/A N/A N/A N/A scr addstr  [A]ttach, [E]nter, [S]top, [C]hkpnt, [K]ill  color N/A N/A N/A N/A scr addstr  [A]ttach, [E]nter, [S]top, [K]ill  color N/A N/A N/A scr addch N/A curses ACS_VLINE color N/A N/A N/A scr addstr  [Q]uit color N/A N/A N/A N/A _curses error N/A N/A N/A N/A N/A scr refresh N/A set_sort_col N/A N/A sort_by N/A N/A N/A N/A N/A CONFIGURATION N/A sort_by sort_by N/A N/A N/A CONFIGURATION N/A sort_asc N/A N/A CONFIGURATION N/A sort_asc N/A N/A N/A CONFIGURATION N/A sort_by sort_by N/A on_keyboard N/A N/A c N/A N/A N/A Handle keyborad shortcuts N/A N/A c N/A ord q N/A N/A N/A KeyboardInterrupt N/A N/A N/A c N/A ord p N/A N/A N/A CONFIGURATION N/A pause_refresh N/A N/A CONFIGURATION N/A pause_refresh N/A N/A N/A c N/A ord f N/A N/A N/A CONFIGURATION N/A follow N/A N/A CONFIGURATION N/A follow N/A 2 N/A N/A N/A N/A c N/A ord + N/A c N/A ord - N/A N/A cgroup N/A N/A CONFIGURATION N/A selected_line N/A cgroup N/A N/A cgroup N/A CONFIGURATION N/A fold N/A N/A N/A N/A N/A CONFIGURATION N/A fold remove cgroup N/A N/A N/A N/A N/A CONFIGURATION N/A fold append cgroup N/A 2 N/A N/A N/A c N/A ord a N/A N/A selected N/A CONFIGURATION N/A selected_line N/A selected_name N/A N/A N/A os path basename N/A selected N/A cgroup N/A N/A N/A N/A selected N/A type docker HAS_DOCKER N/A N/A N/A N/A selected_name startswith docker- N/A N/A selected_name N/A selected_name N/A 7 -6 N/A N/A run -2 N/A docker attach selected_name interactive True N/A N/A N/A N/A N/A selected N/A type N/A lxc lxc-user HAS_LXC N/A N/A N/A run N/A selected N/A owner N/A lxc-console --name selected_name -- /bin/bash interactive True N/A N/A N/A N/A N/A selected N/A type openvz HAS_OPENVZ N/A N/A N/A run N/A selected N/A owner N/A vzctl console selected_name interactive True N/A 2 N/A N/A N/A c N/A ord e N/A N/A selected N/A CONFIGURATION N/A selected_line N/A selected_name N/A N/A N/A os path basename N/A selected N/A cgroup N/A N/A N/A N/A selected N/A type docker HAS_DOCKER N/A N/A N/A N/A selected_name startswith docker- N/A N/A selected_name N/A selected_name N/A 7 -6 N/A N/A run -2 N/A docker exec -it selected_name /bin/bash interactive True N/A N/A N/A N/A N/A selected N/A type N/A lxc lxc-user HAS_LXC N/A N/A N/A run N/A selected N/A owner N/A lxc-attach --name selected_name -- /bin/bash interactive True N/A N/A N/A N/A N/A selected N/A type openvz HAS_OPENVZ N/A N/A N/A run N/A selected N/A owner N/A vzctl enter selected_name interactive True N/A 2 N/A N/A N/A c N/A ord s N/A N/A selected N/A CONFIGURATION N/A selected_line N/A selected_name N/A N/A N/A os path basename N/A selected N/A cgroup N/A N/A N/A N/A selected N/A type docker HAS_DOCKER N/A N/A N/A N/A selected_name startswith docker- N/A N/A selected_name N/A selected_name N/A 7 -6 N/A N/A run -2 N/A docker stop selected_name N/A N/A N/A N/A N/A selected N/A type N/A lxc lxc-user HAS_LXC N/A N/A N/A run N/A selected N/A owner N/A lxc-stop --name selected_name --nokill --nowait N/A N/A N/A N/A N/A selected N/A type openvz HAS_OPENVZ N/A N/A N/A run N/A selected N/A owner N/A vzctl stop selected_name N/A 1 N/A N/A N/A c N/A ord c N/A N/A selected N/A CONFIGURATION N/A selected_line N/A selected_name N/A N/A N/A os path basename N/A selected N/A cgroup N/A N/A N/A N/A selected N/A type openvz HAS_OPENVZ N/A N/A N/A run N/A selected N/A owner N/A vzctl chkpnt selected_name N/A 1 N/A N/A N/A c N/A ord k N/A N/A selected N/A CONFIGURATION N/A selected_line N/A selected_name N/A N/A N/A os path basename N/A selected N/A cgroup N/A N/A N/A N/A selected N/A type docker HAS_DOCKER N/A N/A N/A N/A selected_name startswith docker- N/A N/A selected_name N/A selected_name N/A 7 -6 N/A N/A run -2 N/A docker stop -t 0 selected_name N/A N/A N/A N/A N/A selected N/A type N/A lxc lxc-user HAS_LXC N/A N/A N/A run N/A selected N/A owner N/A lxc-stop -k --name selected_name --nowait N/A N/A N/A N/A N/A selected N/A type openvz HAS_OPENVZ N/A N/A N/A run N/A selected N/A owner N/A vzctl stop selected_name --fast N/A 2 N/A N/A N/A c 269 N/A N/A N/A CONFIGURATION N/A tree N/A N/A CONFIGURATION N/A tree N/A 2 N/A N/A N/A c N/A curses KEY_DOWN N/A N/A N/A CONFIGURATION N/A follow N/A N/A i N/A N/A N/A CONFIGURATION N/A cgroups index N/A CONFIGURATION N/A selected_line_name N/A N/A i N/A CONFIGURATION N/A selected_line_num N/A i N/A min N/A i 1 N/A N/A len N/A CONFIGURATION N/A cgroups 1 N/A N/A CONFIGURATION N/A selected_line_num i N/A N/A CONFIGURATION N/A selected_line_name N/A N/A CONFIGURATION N/A cgroups N/A i N/A 2 N/A N/A N/A c N/A curses KEY_UP N/A N/A N/A CONFIGURATION N/A follow N/A N/A i N/A N/A N/A CONFIGURATION N/A cgroups index N/A CONFIGURATION N/A selected_line_name N/A N/A i N/A CONFIGURATION N/A selected_line_num N/A i N/A max N/A i 1 0 N/A N/A CONFIGURATION N/A selected_line_num i N/A N/A CONFIGURATION N/A selected_line_name N/A N/A CONFIGURATION N/A cgroups N/A i N/A 2 N/A 1 N/A on_mouse N/A N/A N/A N/A N/A Update selected line / sort N/A N/A _ x y z bstate N/A N/A curses getmouse N/A N/A bstate N/A curses BUTTON1_CLICKED N/A N/A N/A y 0 N/A N/A x_max 0 N/A col COLUMNS N/A N/A N/A N/A col width N/A N/A N/A set_sort_col N/A col col_sort N/A N/A N/A x N/A x_max N/A col width N/A N/A N/A set_sort_col N/A col col_sort N/A N/A x_max N/A N/A col width 1 N/A N/A 2 N/A N/A N/A y N/A len N/A CONFIGURATION N/A cgroups N/A N/A N/A CONFIGURATION N/A follow N/A N/A N/A CONFIGURATION N/A selected_line_name N/A N/A CONFIGURATION N/A cgroups N/A N/A y 1 N/A N/A N/A CONFIGURATION N/A selected_line_num N/A y 1 N/A 2 N/A 1 N/A on_resize N/A N/A N/A N/A N/A Redraw screen, do not refresh N/A 2 N/A event_listener N/A N/A scr timeout N/A N/A N/A 
    Wait for curses events on screen ``scr`` at mot ``timeout`` ms

    return
     - 1 OK
     - 2 redraw
     - 0 error
     N/A N/A N/A N/A N/A scr timeout timeout N/A c N/A N/A scr getch N/A N/A c -1 N/A N/A 1 N/A N/A N/A c N/A curses KEY_MOUSE N/A N/A N/A on_mouse N/A N/A N/A c N/A curses KEY_RESIZE N/A N/A N/A on_resize N/A N/A N/A on_keyboard c N/A N/A N/A N/A _curses error N/A N/A 0 N/A rebuild_columns N/A N/A N/A N/A N/A N/A COLUMNS N/A N/A col N/A N/A CONFIGURATION N/A columns COLUMNS_MANDATORY N/A N/A N/A N/A COLUMNS append N/A COLUMNS_AVAILABLE N/A col N/A diagnose N/A N/A N/A N/A N/A devnull N/A open N/A os devnull w N/A N/A N/A N/A os path isfile /.dockerenv N/A N/A N/A print 
Hint: It seems you are running inside a Docker container.
      Please make sure to expose host's cgroups with
      '--volume=/sys/fs/cgroup:/sys/fs/cgroup:ro' file N/A sys stderr N/A N/A cmd_exists boot2docker N/A N/A N/A print 
Hint: It seems you have 'boot2docker' installed.
      To monitor Docker containers in 'boot2docker'
      run CTOP inside the VM itself with:
      $ docker run --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro -it --rm yadutaf/ctop file N/A sys stderr N/A N/A N/A devnull close N/A init_screen N/A N/A N/A N/A N/A N/A N/A curses start_color N/A N/A N/A curses use_default_colors N/A N/A N/A curses noecho N/A N/A N/A curses cbreak N/A N/A N/A curses mousemask N/A curses ALL_MOUSE_EVENTS N/A N/A hasattr curses curs_set N/A N/A N/A N/A N/A N/A curses curs_set 0 N/A N/A N/A N/A N/A main N/A N/A N/A N/A N/A parser N/A OptionParser N/A N/A N/A parser add_option --tree action store_true default False help show tree view by default N/A N/A N/A parser add_option --refresh action store type int default 1 help Refresh display every <seconds> N/A N/A N/A parser add_option --follow action store type string default help Follow cgroup path N/A N/A N/A parser add_option --fold action append help Fold cgroup sub tree N/A N/A N/A parser add_option --type action append help Only show containers of this type N/A N/A N/A parser add_option --columns action store type string default owner,type,processes,memory,cpu-sys,cpu-user,blkio,cpu-time help List of optional columns to display. Always includes 'name' N/A N/A N/A parser add_option --sort-col action store type string default cpu-user help Select column to sort by initially. Can be changed dynamically. N/A N/A options args N/A N/A parser parse_args N/A N/A CONFIGURATION N/A tree N/A options tree N/A N/A CONFIGURATION N/A refresh_interval N/A float N/A options refresh N/A N/A CONFIGURATION N/A columns N/A N/A N/A CONFIGURATION N/A fold N/A N/A options fold N/A list N/A N/A CONFIGURATION N/A type N/A N/A options type N/A list N/A N/A options follow N/A N/A N/A CONFIGURATION N/A selected_line_name N/A options follow N/A N/A CONFIGURATION N/A follow True N/A col N/A N/A N/A options columns split , N/A N/A col N/A N/A col strip N/A N/A col COLUMNS_MANDATORY N/A N/A N/A N/A N/A col COLUMNS_AVAILABLE N/A N/A N/A print Invalid column name col file N/A sys stderr N/A N/A print __doc__ N/A N/A N/A sys exit 1 N/A N/A N/A N/A CONFIGURATION N/A columns append col N/A N/A rebuild_columns N/A N/A N/A options sort_col COLUMNS_AVAILABLE N/A N/A N/A print Invalid sort column name N/A options sort_col file N/A sys stderr N/A N/A print __doc__ N/A N/A N/A sys exit 1 N/A N/A CONFIGURATION N/A sort_by N/A N/A COLUMNS_AVAILABLE N/A N/A options sort_col col_sort N/A measures N/A data global N/A defaultdict dict N/A total_cpu total_memory scheduler_frequency N/A N/A multiprocessing cpu_count N/A get_total_memory N/A N/A os sysconf SC_CLK_TCK N/A N/A init N/A N/A CGROUP_MOUNTPOINTS N/A N/A N/A print [ERROR] Failed to locate cgroup mountpoints. file N/A sys stderr N/A N/A diagnose N/A N/A N/A sys exit 1 N/A results None N/A N/A N/A N/A N/A stdscr N/A N/A curses initscr N/A N/A init_screen N/A N/A N/A stdscr keypad 1 N/A N/A N/A curses init_pair 1 N/A curses COLOR_BLACK N/A curses COLOR_GREEN N/A N/A N/A curses init_pair 2 N/A curses COLOR_BLACK N/A curses COLOR_CYAN N/A N/A N/A curses init_pair 3 N/A curses COLOR_WHITE -1 N/A N/A N/A curses init_pair 4 N/A curses COLOR_CYAN -1 N/A True N/A N/A N/A collect measures N/A results N/A built_statistics measures CONFIGURATION N/A N/A display stdscr results CONFIGURATION N/A sleep_start N/A N/A time time N/A N/A N/A CONFIGURATION N/A pause_refresh N/A N/A N/A time time N/A sleep_start N/A CONFIGURATION N/A refresh_interval N/A N/A N/A CONFIGURATION N/A pause_refresh N/A N/A to_sleep -1 N/A N/A to_sleep N/A int N/A N/A N/A sleep_start N/A CONFIGURATION N/A refresh_interval N/A N/A time time 1000 N/A ret N/A event_listener stdscr to_sleep N/A N/A ret 2 N/A N/A N/A display stdscr results CONFIGURATION N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A N/A curses nocbreak N/A N/A N/A stdscr keypad 0 N/A N/A N/A curses echo N/A N/A N/A curses endwin N/A N/A N/A results None N/A N/A len results 2 N/A N/A N/A print [WARN] Failed to find any relevant cgroup/container. file N/A sys stderr N/A N/A diagnose N/A N/A N/A __name__ __main__ N/A N/A N/A main