Understanding the get_process_info() function