code: def _system_info():
      import platform
      import sys
  
      import distro
  
      system = platform.system()
  
      if system == "Windows":
          version = sys.getwindowsversion()  # type: ignore[attr-defined]
  
          return {
              "os": "windows",
              "windows_version_build": version.build,
              "windows_version_major": version.major,
              "windows_version_minor": version.minor,
              "windows_version_service_pack": version.service_pack,
          }
  
      if system == "Darwin":
          return {"os": "mac", "mac_version": platform.mac_ver()[0]}
  
      if system == "Linux":
          return {
              "os": "linux",
              "linux_distro": distro.id(),
              "linux_distro_like": distro.like(),
              "linux_distro_version": distro.version(),
          }
  
      # We don't collect data for any other system.
      raise NotImplementedError
  
file_path: dvc/dvc/analytics.py
imports: import json
  import os
  from dvc.log import logger
  from .env import DVC_ANALYTICS_ENDPOINT, DVC_NO_ANALYTICS
label_desc: Use image node_id 6 for calling a global function with example usage: _system_info() and returns: dict, dict, dict