Skip to content

中文 | English

System ​

This document is lengthy and has no English translation yet.

The section outline below mirrors the Chinese source document; see system.md for the original.

  • 模块概述
  • 获取 CPU 信息
    • get_cpu_info() / getCpuInfo()
  • 获取 CPU 使用率
    • get_cpu_usage() / getCpuUsage()
  • 获取内存信息
    • get_memory_info() / getMemoryInfo()
  • 获取磁盘信息
    • get_disk_info(drive?) / getDiskInfo(drive?)
  • 获取 GPU 信息
    • get_gpu_info() / getGpuInfo()
  • 获取系统信息
    • get_os_info() / getOsInfo()
  • 获取网络适配器信息
    • get_network_adapters() / getNetworkAdapters()
  • 获取显示器信息
    • get_display_info() / getDisplayInfo()
  • 获取系统运行时间
    • get_uptime() / getUptime()
  • 获取当前日期时间
    • get_date_time() / getDateTime()
  • 获取时区
    • get_time_zone() / getTimeZone()
  • 获取进程数
    • get_process_count() / getProcessCount()
  • 获取线程数
    • get_thread_count() / getThreadCount()
  • 可用接口
  • 返回值结构
    • CPU 信息对象
    • 内存信息对象
    • 磁盘信息对象
    • GPU 信息对象
    • 系统信息对象
    • 网络适配器信息对象
    • 显示器信息对象