http://mf34jlghauz5pxjcmdymdqbe5pva4v24logeys446tdrgd5lpsrocmqd.onion/_modules/stem/util/system.html
P < pid > [0-9]*) ' % process_name ) for line in results : match = tasklist_regex . search ( line ) if match : process_ids . append ( int ( match . group ( ' pid ' ))) if multiple : return process_ids elif len ( process_ids ) > 0 : return process_ids [ 0 ] log . debug ( " failed to resolve a pid for ' %s ' " % process_name ) return [] if multiple else None [docs] def pid_by_port ( port ): " " " Attempts to determine the process id for a process with the given port, using... :: 1. netstat...