mirror of
https://github.com/fankes/komari-agent.git
synced 2025-10-18 18:49:23 +08:00
feat: 添加 GPU 名称获取功能
This commit is contained in:
@@ -44,7 +44,7 @@ func uploadBasicInfo() error {
|
||||
"mem_total": monitoring.Ram().Total,
|
||||
"swap_total": monitoring.Swap().Total,
|
||||
"disk_total": monitoring.Disk().Total,
|
||||
"gpu_name": "Unknown",
|
||||
"gpu_name": monitoring.GpuName(),
|
||||
"version": update.CurrentVersion,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user