code: def get_child_pids(pid):
      p = psutil.Process(pid=pid)
      return p.children(recursive=True)
  
file_path: mindsdb/mindsdb/utilities/ps.py
imports: import sys
  import time
  from collections import namedtuple
  import psutil
label_desc: Use image node_id 1 for calling a global function with example usage: get_child_pids(pid) and returns: p