asitop
1.0.0
蘋果矽的性能監控CLI工具

pip install asitopasitop Apple Silicon(又名M1)Macs的基於Python的nvtop啟發命令行工具。
powermetrics中刪除了內存帶寬)powermetrics中刪除包裝電源)asitop在MACOS上使用內置powermetrics實用程序,該實用程序允許訪問各種硬件性能計數器。請注意,由於需要root訪問運行的powermetrics ,因此需要sudo運行。 asitop輕巧,性能影響很小。
asitop僅在Macos Monterey上使用Apple Silicon Macs!
asitop是一種基於Python的命令行工具。您需要pip下載並安裝asitop 。 MacOS已經隨附Python,要安裝pip ,您可以遵循在線指南。通過pip安裝asitop後,可以通過終端使用它。
# to enter password before start
# this mode is recommended!
sudo asitop
# it will prompt password on start
asitop
# advanced options
asitop [-h] [--interval INTERVAL] [--color COLOR] [--avg AVG]
optional arguments:
-h, --help show this help message and exit
--interval INTERVAL Display interval and sampling interval for powermetrics (seconds)
--color COLOR Choose display color (0~8)
--avg AVG Interval for averaged values (seconds)powermetrics用於測量以下內容:
psutil用於測量以下內容:
sysctl用於測量以下內容:
system_profiler用於測量以下內容:
某些信息是猜測的,並且是硬編碼的,因為似乎沒有系統上的官方來源:
因為我在網上沒有找到這樣的東西。另外,只是對東西感到好奇。
我這樣做了,如果它炸了您的新MacBook或其他東西,我就不會怪我。