code: def test_psutil_processes():
      for p in psutil.process_iter():
          inspect(p)
          with p.oneshot():
              try:
                  inspect(p.memory_info()._asdict())
                  inspect(p.memory_percent())
                  inspect(p.cpu_percent(1))
                  inspect(p.num_threads())
                  inspect(p.threads())
              except psutil.AccessDenied:
                  pass
  
              try:
                  inspect(p.cpu_num())
              except AttributeError as e:
                  pass
  
file_path: labml/client/test/hardware_track.py
imports: import time
  import psutil
  from labml import lab, experiment, tracker
  from labml.logger import inspect
label_desc: Use image node_id 10 for calling a global function with example usage: test_psutil_processes() without return types