PC_Monitor/README.md
2025-04-27 18:13:35 +08:00

131 lines
3.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 语言 | Language
[中文](#中文) \| [English](#english)
---
### 中文
# 简介
技术选型PySide6
仿照对象windows任务管理器
重要描述主要目的是学习pyside6当然目前还在追求实现功能中(小白一只,只会调库,暂不会自研),把能直接完成的尽快完成,然后重点优化排版与样式
预期功能:
1. CPU:
- 获取cpu名称 - [✔]
- 实时cpu利用率 - [✔]
- 实时获取cpu速度 - [✘]
- 实时获取进程数 - [✔]
- 实时获取线程数 - [✔]
- 实时获取句柄数 - [✔]
- 获取系统正常运行时间 - [✘]
- 获取cpu基准速度 - [✔]
- 获取cpu插槽数 - [✘]
- 获取cpu内核数 - [✔]
- 获取cpu逻辑处理器数 - [✔]
- 获取虚拟化信息 - [✘]
- 获取L1缓存 - [✘]
- 获取L2缓存 - [✔]
- 获取L3缓存 - [✔]
存在问题:
目前来说,在获取 进线程数量以及句柄数量时API的调用会造成卡顿。完全比不上任务管理器的丝滑。
当然还有一大堆问题亟待解决如何利用python获取完整的硬件信息我还在寻找库中目前psutil 和 wmi 库貌似只能提供主要数据,有些数据就无法获取。
目标图(Win11任务管理器)
![img.png](img.png)![image-20250427173734088](C:\Users\yunan\AppData\Roaming\Typora\typora-user-images\image-20250427173734088.png)
实际图:
![img_1.png](img_1.png)
![image-20250427173824906](C:\Users\yunan\AppData\Roaming\Typora\typora-user-images\image-20250427173824906.png)
2. 内存:
- 实时内存使用量 - [✘]
- 实时内存组合 - [✘]
- 已提交 - [✘]
- 已缓存 - [✘]
- 分页缓冲池 - [✘]
- 非分页缓冲池 - [✘]
- 内存速度 - [✘]
- 已使用插槽数 - [✘]
- 外形规格 - [✘]
- 为硬件保留的内存 - [✘]
3. 磁盘:
- 磁盘名称 - [✘]
- 磁盘处理请求的时间百分比 - [✘]
- 磁盘传输速率 - [✘]
- 活动时间 - [✘]
- 平均响应时间 - [✘]
- 读取速度 - [✘]
- 写入速度 - [✘]
- 容量 - [✘]
- 已格式化大小 - [✘]
- 是否系统磁盘 - [✘]
- 是否页面文件 - [✘]
- 磁盘类型 - [✘]
4. WIFI:
- 网卡名称 - [✘]
- 吞吐量 - [✘]
- 发送 - [✘]
- 接收 - [✘]
- 适配器名称 - [✘]
- SSID - [✘]
- 连接类型 - [✘]
- IPV4 - [✘]
- IPV6 - [✘]
- 信号强度 - [✘]
5. GPU:
- GPU名称 - [✘]
- 3D - [✘]
- Copy - [✘]
- Video Decode - [✘]
- Video Processing - [✘]
- 共享GPU内存 - [✘]
- 实时利用率 - [✘]
- GPU内存 - [✘]
- 驱动版本 - [✘]
- 驱动日期 - [✘]
- DirectX版本 - [✘]
- 物理位置 - [✘]
---
### English
没有英文版,就意思意思。