概述
本文档展示了 AegisSpeed 系统信息收集模块所使用的所有 JSON 模板格式。这些模板涵盖了系统监控所需的各种信息类型,包括 CPU、内存、磁盘、GPU、进程、USB 设备等。
提示:所有模板字段中的
"SAMPLE"表示该字段在实际运行时会填充真实数据。
目录
信息模板
综合资源模板
文件: RESOURCES_SAMPLE.json
包含 CPU、GPU、内存和磁盘的综合信息。
{
"cpu_info": {
"total_usage": 5.6,
"per_core_usage": [0.0, 57.1, 14.3, ...],
"current_freq": 3200.0,
"min_freq": 0.0,
"max_freq": 3200.0,
"temperature": 27.8,
"user_time": 148677.921875,
"system_time": 54073.46875,
"idle_time": 913780.109375,
"ctx_switches": 1963954861,
"interrupts": 3188068392,
"soft_interrupts": 0
},
"gpu_info": {
"compute_usage": 2,
"memory_total": 15.9921875,
"memory_used": 1.3913230895996094,
"memory_free": 14.60086441040039,
"memory_usage": 8.700017365351734,
"temperature": 37,
"power_usage": 52.379,
"power_limit": 285.0,
"fan_speed": 30,
"clock_graphics": 2640,
"clock_memory": 10501
},
"memory_info": {
"memory_total": 47.72340774536133,
"memory_available": 30.172393798828125,
"memory_used": 17.551013946533203,
"memory_percent": 36.8,
"swap_total": 44.0,
"swap_used": 0.29882049560546875,
"swap_free": 43.70117950439453,
"swap_percent": 0.7
},
"disk_info": {
"disk_total": 300.00194931030273,
"disk_used": 235.66856002807617,
"disk_free": 64.33338928222656,
"disk_percent": 78.6,
"disk_read_bytes": 100959.8251953125,
"disk_write_bytes": 20495.47119140625,
"disk_read_count": 2259525,
"disk_write_count": 1091714,
"disk_read_time": 7642,
"disk_write_time": 271
}
}
CPU 使用信息
文件: CPU_USAGE_INFO_SAMPLE.json
详细的 CPU 使用率和核心信息。
| 字段 | 类型 | 说明 |
|---|---|---|
total_usage | float | CPU 总使用率 (%) |
per_core_usage | array | 每个核心的使用率 |
current_freq | float | 当前频率 (MHz) |
min_freq | float | 最小频率 (MHz) |
max_freq | float | 最大频率 (MHz) |
temperature | float | CPU 温度 (°C) |
user_time | float | 用户态时间 |
system_time | float | 系统态时间 |
idle_time | float | 空闲时间 |
ctx_switches | int | 上下文切换次数 |
interrupts | int | 中断次数 |
soft_interrupts | int | 软中断次数 |
{
"cpu_info": {
"total_usage": 5.6,
"per_core_usage": [0.0, 57.1, 14.3, 0.0, ...],
"current_freq": 3200.0,
"min_freq": 0.0,
"max_freq": 3200.0,
"temperature": 27.8,
"user_time": 148677.921875,
"system_time": 54073.46875,
"idle_time": 913780.109375,
"ctx_switches": 1963954861,
"interrupts": 3188068392,
"soft_interrupts": 0
}
}
内存使用信息
文件: MEMORY_USAGE_INFO_SAMPLE.json
系统内存和交换空间使用情况。
| 字段 | 类型 | 说明 |
|---|---|---|
memory_total | float | 总内存 (GB) |
memory_available | float | 可用内存 (GB) |
memory_used | float | 已用内存 (GB) |
memory_percent | float | 内存使用率 (%) |
swap_total | float | 交换空间总量 (GB) |
swap_used | float | 已用交换空间 (GB) |
swap_free | float | 可用交换空间 (GB) |
swap_percent | float | 交换空间使用率 (%) |
{
"memory_total": 47.72340774536133,
"memory_available": 26.291515350341797,
"memory_used": 21.43189239501953,
"memory_percent": 44.9,
"memory_free": 26.291515350341797,
"swap_total": 44.0,
"swap_used": 4.258758544921875,
"swap_free": 39.741241455078125,
"swap_percent": 9.7
}
磁盘使用信息
文件: DISK_USAGE_INFO_SAMPLE.json
磁盘 I/O 和使用情况统计。
| 字段 | 类型 | 说明 |
|---|---|---|
disk_total | float | 磁盘总容量 (GB) |
disk_used | float | 已用空间 (GB) |
disk_free | float | 可用空间 (GB) |
disk_percent | float | 使用率 (%) |
disk_read_bytes | float | 读取字节数 |
disk_write_bytes | float | 写入字节数 |
disk_read_count | int | 读取次数 |
disk_write_count | int | 写入次数 |
disk_read_time | int | 读取时间 (ms) |
disk_write_time | int | 写入时间 (ms) |
{
"disk_total": 300.00194931030273,
"disk_used": 234.38514709472656,
"disk_free": 65.61680221557617,
"disk_percent": 78.1,
"disk_read_bytes": 285270.65380859375,
"disk_write_bytes": 143972.9033203125,
"disk_read_count": 3734401,
"disk_write_count": 8398591,
"disk_read_time": 8084,
"disk_write_time": 1223
}
GPU 使用信息
文件: GPU_USAGE_INFO_SAMPLE.json
显卡性能和使用情况监控。
| 字段 | 类型 | 说明 |
|---|---|---|
compute_usage | int | GPU 计算使用率 (%) |
memory_total | float | 显存总量 (GB) |
memory_used | float | 已用显存 (GB) |
memory_free | float | 可用显存 (GB) |
memory_usage | float | 显存使用率 (%) |
temperature | int | GPU 温度 (°C) |
power_usage | float | 功耗 (W) |
power_limit | float | 功耗上限 (W) |
fan_speed | int | 风扇转速 (%) |
clock_graphics | int | 核心频率 (MHz) |
clock_memory | int | 显存频率 (MHz) |
{
"compute_usage": 9,
"memory_total": 15.9921875,
"memory_used": 2.2038345336914062,
"memory_free": 13.788352966308594,
"memory_usage": 13.780694690400585,
"temperature": 39,
"power_usage": 54.806,
"power_limit": 285.0,
"fan_speed": 30,
"clock_graphics": 2640,
"clock_memory": 10501
}
进程信息
文件: PROCESSES_SAMPLE.json
系统进程监控信息。
| 字段 | 类型 | 说明 |
|---|---|---|
pid | string | 进程 ID |
name | string | 进程名称 |
create_time | string | 创建时间 |
status | string | 运行状态 |
path | string | 进程路径 |
{
"0": {
"pid": "0",
"name": "sample",
"create_time": "1970-01-01 08:00:00",
"status": "running",
"path": "path-sample"
}
}
USB 设备信息
文件: USB_DEVICES_SAMPLE.json
系统连接的 USB 设备详细信息。
| 字段 | 说明 |
|---|---|
设备名称 | USB 设备名称 |
描述 | 设备描述 |
设备类型 | 设备类型分类 |
已连接 | 连接状态 |
可安全拔出 | 是否可安全移除 |
已禁用 | 启用状态 |
USB集线器 | 所属集线器 |
驱动器号 | 盘符(如果是存储设备) |
序列号 | 设备序列号 |
注册表时间1/2 | 注册表时间戳 |
厂商ID | Vendor ID |
产品ID | Product ID |
固件修正版本 | 固件版本 |
WCID | USB WCID 支持状态 |
USB类别 | USB Class |
USB子类别 | USB Subclass |
USB协议 | USB Protocol |
集线器/端口 | 连接端口 |
计算机名 | 所属计算机 |
厂商名称 | Manufacturer |
产品名称 | Product Name |
服务名称 | 服务名 |
服务描述 | 服务描述 |
驱动文件名 | 驱动文件 |
驱动版本 | Driver Version |
实例ID | Device Instance ID |
安装时间 | 安装时间戳 |
连接时间 | 最后连接时间 |
断开时间 | 最后断开时间 |
{
"0": {
"设备名称": "SAMPLE",
"描述": "SAMPLE",
"设备类型": "SAMPLE",
"已连接": "SAMPLE",
"可安全拔出": "SAMPLE",
"已禁用": "SAMPLE",
"USB集线器": "SAMPLE",
"驱动器号": "SAMPLE",
"序列号": "SAMPLE",
"注册表时间1": "SAMPLE",
"注册表时间2": "SAMPLE",
"厂商ID": "SAMPLE",
"产品ID": "SAMPLE",
"固件修正版本": "SAMPLE",
"WCID": "SAMPLE",
"USB类别": "SAMPLE",
"USB子类别": "SAMPLE",
"USB协议": "SAMPLE",
"集线器/端口": "SAMPLE",
"计算机名": "SAMPLE",
"厂商名称": "SAMPLE",
"产品名称": "SAMPLE",
"父ID前缀": "SAMPLE",
"服务名称": "SAMPLE",
"服务描述": "SAMPLE",
"驱动文件名": "SAMPLE",
"驱动类别": "SAMPLE",
"设备商": "SAMPLE",
"友好名称": "SAMPLE",
"电源": "SAMPLE",
"USB版本": "SAMPLE",
"驱动描述": "SAMPLE",
"驱动版本": "SAMPLE",
"Driver InfSection": "SAMPLE",
"Driver InfPath": "SAMPLE",
"实例ID": "SAMPLE",
"性能": "SAMPLE",
"安装时间": "SAMPLE",
"首次安装时间": "SAMPLE",
"连接时间": "SAMPLE",
"断开时间": "SAMPLE"
}
}
MACE 系统标识
文件: MACE_SAMPLE.json
系统唯一标识信息。
{
"WindowsSystemInfo": {
"os_name": "SAMPLE",
"os_version": "SAMPLE",
"architecture": "SAMPLE",
"architecture_type": "SAMPLE",
"platform": "SAMPLE"
},
"WindowsUUID": "SAMPLE",
"WindowsProductId": "SAMPLE",
"CPUINFO": "SAMPLE",
"CPUID": "BFEBFBFF000B0671",
"CPUVendor": "SAMPLE",
"MotherBoardINFO": "SAMPLE",
"MotherBoardID": "SAMPLE",
"GPUINFO": "SAMPLE",
"GPUID": "SAMPLE",
"DiskINFO": [
{
"DISK_NAME": "SAMPLE",
"DISK_ID": "SAMPLE",
"DISK_SIZE": "SAMPLE",
"DISK_PNPDEVICEID": "SAMPLE",
"DISK_PROTOCOL": "SAMPLE",
"DISK_PARTITION": [
{
"DISK_LETTER": "SAMPLE",
"DISK_SUB_SIZE": "SAMPLE",
"DISK_FILE_SYSTEM": "SAMPLE",
"AVAILABLE_DISK_SIZE": "SAMPLE"
}
]
}
],
"MemeroyINFO": [
{
"Capacity": "SAMPLE",
"DeviceLocator": "SAMPLE",
"FormFactor": "SAMPLE",
"Manufacturer": "SAMPLE",
"MemoryType": "SAMPLE",
"PartNumber": "SAMPLE",
"SerialNumber": "SAMPLE",
"Speed": "SAMPLE"
}
],
"MACAddress": "SAMPLE"
}
用户配置文件
文件: USER_PROFILE_SAMPLE.json
完整的用户配置文件,包含所有系统信息、日志和事件记录。
{
"LAUNCH_INFO": {
"PID": 0,
"EXE_PATH": "SAMPLE",
"LAUNCH_CODE": "SAMPLE"
},
"EVENT_TIME_RECORDER": {
"LAUNCH_TIME": "SAMPLE",
"CREATE_TIME": "SAMPLE",
"SIP_FINISH_TIME": "SAMPLE"
},
"LOCAL_MACHINE_INFO": {
"MACE": {
"WindowsSystemInfo": {...},
"WindowsUUID": "SAMPLE",
"WindowsProductId": "SAMPLE",
"CPUINFO": "SAMPLE",
"CPUID": "BFEBFBFF000B0671",
"CPUVendor": "SAMPLE",
"MotherBoardINFO": "SAMPLE",
"MotherBoardID": "SAMPLE",
"GPUINFO": "SAMPLE",
"GPUID": "SAMPLE",
"DiskINFO": [...],
"MemeroyINFO": [...],
"MACAddress": "SAMPLE"
},
"VT": {
"VirtualizationFirmware": {...},
"DataExecutionPrevention_stu": {...},
"DataExecutionPrevention_info": {...},
"SecondLevelAddressTranslationExtensions_stu": {...}
},
"NETWORK": {
"wan_ip": "SAMPLE",
"lan_ip": "SAMPLE",
"location": "SAMPLE"
}
},
"LOG": {
"SAMPLE TIME_SAMPLE LOG HASH": {
"time": "SAMPLE",
"source": "SAMPLE",
"level": "SAMPLE",
"msg": "SAMPLE"
}
},
"EVENTS": {
"message_bar": {...},
"info_bar": {...}
},
"ERRORS": {
"SAMPLE TIME_SAMPLE LOG HASH": {
"time": "SAMPLE",
"source": "SAMPLE",
"level": "SAMPLE",
"msg": "SAMPLE"
}
}
}