-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick RSS Feed: macmon:为 Apple Silicon 提供无须 sudo 的实时性能监控 #46
- Loading branch information
1 parent
64d1d36
commit 5a9f532
Showing
9 changed files
with
248 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
macmon:为 Apple Silicon 提供无须 sudo 的实时性能监控 | ||
=== | ||
|
||
Apple Silicon 处理器以其出色的性能和能效广受欢迎,然而,想要查看设备的实时功耗、CPU/GPU 使用率等数据却不是一件简单的事情。大部分工具依赖 powermetrics 等系统命令,往往需要 sudo 权限运行。对于那些对硬件性能和系统资源高度敏感的用户来说,这显然不够方便。而现在,macmon 的出现为这一问题提供了优雅的解决方案。 | ||
|
||
![](https://github.com/user-attachments/assets/7cc36014-d5ef-487a-a638-6faf38e8e3a4) | ||
|
||
```sh | ||
brew install vladkens/tap/macmon | ||
``` | ||
|
||
```sh | ||
Usage: macmon [OPTIONS] [COMMAND] | ||
|
||
Commands: | ||
raw Print raw metrics data instead of TUI | ||
help Print this message or the help of the given subcommand(s) | ||
|
||
Options: | ||
-i, --interval <INTERVAL> Update interval in milliseconds [default: 1000] | ||
-h, --help Print help | ||
-V, --version Print version | ||
|
||
Controls: | ||
c - change color | ||
q - quit | ||
``` | ||
|
||
### 为什么选择 macmon? | ||
|
||
#### 1. 无须 sudo,简洁易用 | ||
|
||
macmon 使用了 macOS 的私有 API 来读取系统性能指标,类似于 powermetrics 的数据,却不再需要 sudo 权限。这意味着你可以随时随地查看设备的实时状态,无需繁琐的授权或担心系统安全。 | ||
|
||
#### 2. 实时功耗监控 | ||
|
||
macmon 可以实时显示 CPU、GPU 和 ANE(Apple Neural Engine)的功耗情况,帮助你了解设备在不同负载下的能源消耗,特别适合运行深度学习模型、图像处理或其他高性能任务时查看。 | ||
|
||
#### 3. 详细的 CPU 使用率 | ||
|
||
macmon 能显示每个 CPU 集群的利用率,让你对高效能核心与高能效核心的工作情况一目了然。你可以清楚地看到不同任务如何分配到不同的 CPU 集群上,从而更好地理解系统性能。 | ||
|
||
|
||
#### 4. 内存和 Swap 使用 | ||
|
||
对于开发者和专业用户来说,内存的使用情况是非常关键的。macmon 提供了详细的内存和交换分区使用情况,帮助你优化内存管理,提高应用性能。 | ||
|
||
#### 5. 温度监控 | ||
|
||
macmon 提供 CPU 和 GPU 的实时温度监控,避免系统过热。对于长时间运行高强度任务的用户来说,温度监控尤为重要。 | ||
|
||
#### 6. 历史数据与统计 | ||
|
||
不仅如此,macmon 还可以显示性能数据的历史趋势图,支持查看平均值和最大值。你可以轻松分析系统在一段时间内的表现,找出潜在的性能瓶颈。 | ||
|
||
#### 7. 丰富的定制选项 | ||
|
||
macmon 提供六种配色方案,用户可以根据喜好切换 UI 颜色风格。它还支持在小窗口中显示,方便你边工作边查看系统状态。 | ||
|
||
#### 8. 基于 Rust 构建,高效可靠 | ||
|
||
macmon 由 Rust 语言编写,运行高效,占用系统资源极少,确保你的监控工具不会对系统产生额外负担。 | ||
|
||
### 结语 | ||
|
||
macmon 是每一位 Apple Silicon 用户的必备工具,无论你是开发者、设计师,还是技术爱好者,它都可以帮助你深入了解系统性能,随时掌握设备的运行状态。无需 sudo 权限,高效便捷,macmon 将是你优化系统和应用的得力助手。 | ||
|
||
👉 https://github.com/vladkens/macmon | ||
|
||
--- | ||
|
||
<p align="center"> | ||
<a href="https://github.com/vladkens/macmon" target="_blank">🔗 查看链接</a> • | ||
<a href="https://github.com/jaywcjlove/quick-rss/issues/new/choose" target="_blank">投稿/推荐/自荐</a> • | ||
<a href="https://wangchujiang.com/quick-rss/feeds/index.html" target="_blank">Quick RSS</a> • | ||
<a href="https://github.com/jaywcjlove/quick-rss/issues/46" target="_blank">#46</a> • | ||
<a href="https://github.com/jaywcjlove" target="_blank">@jaywcjlove</a> | ||
</p> | ||
|
||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.