code: def _get_process_info(proc):
      '''
      Return  process information
      '''
      cmd = salt.utils.stringutils.to_unicode(proc.CommandLine or '')
      name = salt.utils.stringutils.to_unicode(proc.Name)
      info = dict(
          cmd=cmd,
          name=name,
          **_get_process_owner(proc)
      )
      return inff _get_process_info(proc):
      '''
      Return  process information
      '''
      cmd = salt.utils.stringutils.to_unicode(proc.CommandLine or '')
      name = salt.utils.stringutils.to_unicode(proc.Name)
      info = dict(
          cmd=cmd,
          name=name,
          **_get_process_owner(proc)
      )
      return info
docs: Return  process information