Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults kwarg body Return Call NameLoad Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str Assign NameStore Dict TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad BinOpMod Str NameLoad attr attr Str handlers ExceptHandler body Return NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore IfExp Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore IfExp Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Import alias Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr finalbody Delete NameDel decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad For NameStore Call NameLoad body If CompareIn NameLoad Call NameLoad NameLoad body For NameStore SubscriptLoad Call NameLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore BinOpMod Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str body If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Break orelse If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Break orelse If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Break If CompareEq NameLoad Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler type NameLoad body Return NameLoad orelse Return NameLoad decorator_list
N/A N/A os N/A logging N/A socket N/A subprocess N/A re N/A psutil netifaces interfaces ifaddresses AF_INET N/A logger N/A N/A logging getLogger crawlutils enum N/A N/A N/A enums N/A N/A N/A type Enum N/A enums N/A GetProcessEnv N/A N/A pid N/A 1 N/A N/A the environment settings from the processes perpective,
       @return C{dict}
     N/A env N/A N/A N/A N/A envlist N/A N/A N/A N/A N/A open N/A /proc/%s/environ pid read split N/A N/A N/A N/A env N/A e envlist N/A N/A N/A k _ v N/A N/A e partition = N/A N/A k v N/A N/A N/A k strip N/A N/A v strip N/A N/A k N/A N/A N/A N/A env N/A k v N/A env N/A process_is_crawler N/A N/A proc N/A N/A N/A N/A N/A cmdline N/A N/A hasattr N/A proc cmdline __call__ N/A N/A proc cmdline N/A proc cmdline N/A curr N/A N/A psutil Process N/A N/A os getpid N/A curr_cmdline N/A N/A hasattr N/A curr cmdline __call__ N/A N/A curr cmdline N/A curr cmdline N/A N/A cmdline curr_cmdline N/A N/A True N/A N/A N/A Exception N/A N/A N/A False N/A NullHandler N/A N/A logging Handler N/A emit N/A N/A self record N/A N/A N/A N/A N/A get_errno_msg N/A N/A libc N/A N/A N/A N/A N/A ctypes N/A N/A N/A libc __errno_location restype N/A N/A ctypes POINTER N/A ctypes c_int N/A errno N/A N/A N/A N/A libc __errno_location contents value N/A errno_msg N/A N/A os strerror errno N/A errno_msg N/A N/A N/A Exception N/A N/A unknown error N/A get_host_ipaddr N/A N/A N/A N/A N/A s N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_DGRAM N/A N/A N/A N/A N/A N/A N/A s connect N/A www.ibm.com 9 N/A N/A N/A N/A s getsockname N/A 0 N/A N/A N/A N/A socket error N/A N/A N/A N/A socket gethostname N/A N/A s N/A get_host_ip4_addresses N/A N/A N/A N/A N/A ip_list N/A N/A interface N/A interfaces N/A N/A N/A AF_INET N/A ifaddresses interface N/A N/A link N/A N/A ifaddresses interface N/A AF_INET N/A N/A N/A N/A ip_list append N/A link N/A addr N/A ip_list N/A find_mount_point N/A N/A path N/A N/A N/A path N/A N/A N/A os path abspath path N/A N/A N/A N/A N/A os path ismount path N/A N/A path N/A N/A N/A os path dirname path N/A path N/A log_atime_config N/A N/A path crawlmode N/A N/A N/A atime_config unknown N/A mountlocation N/A find_mount_point path path N/A N/A N/A logger info N/A Mount location for specified crawl root_dir %s: %s N/A path mountlocation N/A N/A crawlmode INVM N/A N/A grepstr N/A on %s  mountlocation N/A N/A N/A mount N/A N/A subprocess Popen mount stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A mountlist N/A N/A subprocess Popen N/A grep grepstr stdin N/A mount stdout stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A mountlist_arr N/A N/A N/A N/A N/A mountlist stdout read split N/A N/A N/A len mountlist_arr 0 N/A N/A ptrn .*?\((.*?)\).*? N/A match N/A N/A re search ptrn N/A mountlist_arr N/A 0 N/A i N/A N/A N/A N/A match group 1 split , N/A N/A N/A N/A N/A i strip noatime N/A N/A atime_config noatime N/A N/A N/A logger debug N/A Found atime config: %s in mount information, updating log atime_config N/A N/A N/A N/A N/A N/A i strip relatime N/A N/A atime_config relatime N/A N/A N/A logger debug N/A Found atime config: %s in mount information, updating log atime_config N/A N/A N/A N/A N/A N/A i strip strictatime N/A N/A atime_config strictatime N/A N/A N/A logger debug N/A Found atime config: %s in mount information, updating log atime_config N/A N/A N/A atime_config unknown N/A N/A atime_config relatime N/A N/A N/A logger debug N/A Did not find any atime config for the matching mount location. Assuming: %s atime_config N/A N/A N/A OSError N/A e N/A N/A N/A N/A logger error N/A N/A N/A N/A N/A Failed to query mount information:  N/A [Errno: %d]  N/A e errno N/A e strerror  [Exception:  N/A N/A type e __name__ ] N/A N/A N/A logger info N/A Atime configuration for '%s': '%s' N/A mountlocation atime_config N/A N/A atime_config strictatime N/A N/A N/A N/A logger info strictatime: File access times are reflected correctly N/A N/A atime_config relatime N/A N/A N/A N/A logger info relatime: File access times are only updated after 24 hours N/A N/A atime_config noatime N/A N/A N/A N/A logger info noatime: File access times are never updated properly N/A N/A atime_config unknown N/A N/A N/A N/A logger info unknown: Could not determine atime config. File atime information might not be reliable N/A atime_config N/A is_process_running N/A N/A pid N/A N/A N/A  Check For the existence of a unix pid.
     N/A N/A N/A N/A N/A os kill pid 0 N/A N/A N/A OSError N/A N/A False N/A N/A True N/A