Skip to content

Commit 77da2d7

Browse files
authored
Merge pull request #37 from context-labs/development
mactop v0.2.2
2 parents 9ac0cc2 + 39d2f28 commit 77da2d7

File tree

8 files changed

+737
-234
lines changed

8 files changed

+737
-234
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
`mactop` is a terminal-based monitoring tool "top" designed to display real-time metrics for Apple Silicon chips written by Carsen Klock. It provides a simple and efficient way to monitor CPU and GPU usage, E-Cores and P-Cores, power consumption, and other system metrics directly from your terminal!
66

7-
![mactop](screenshotnew.jpg)
7+
![mactop](screenshotm.png)
88

99
## Compatibility
1010

@@ -13,9 +13,9 @@
1313

1414
## Features
1515

16-
- Apple Silicon Monitor Top written in Go Lang (Under 1,000 lines of code)
17-
- Real-time CPU and GPU power usage display.
18-
- Detailed metrics for different CPU clusters (E-Cores and P-Cores).
16+
- Apple Silicon Monitor Top written in Go Lang and CGO
17+
- Real-time CPU and GPU power wattage usage display.
18+
- Detailed native metrics for CPU cores (E and P cores) (Apple's Mach Kernel API)
1919
- Memory usage and swap information.
2020
- Network usage information
2121
- Disk Activity Read/Write
@@ -103,9 +103,9 @@ Use the following keys to interact with the application while its running:
103103
- `l`: Toggle the main display's layout.
104104
- `h`: Toggle the help menu.
105105

106-
## Example Theme (Green) Screenshot (sudo mactop -c green)
106+
## Example Theme (Green) Screenshot (sudo mactop -c green) on Advanced layout (Hit "l" key to toggle)
107107

108-
![mactop theme](screenshot3.png)
108+
![mactop theme](screenshota.png)
109109

110110
## Confirmed tested working M series chips
111111

@@ -141,7 +141,8 @@ Contributions are what make the open-source community such an amazing place to l
141141
- `sysctl`: For CPU model information
142142
- `system_profiler`: For GPU Core Count
143143
- `psutil`: For memory and swap metrics
144-
- `powermetrics`: For majority of CPU, GPU, Network, and Disk metrics
144+
- `powermetrics`: For majority of GPU, Network, and Disk metrics
145+
- `host_processor_info`: For CPU metrics (E and P cores) Apple Mach Kernel API in CGO
145146

146147
## License
147148

@@ -162,3 +163,4 @@ This tool is not officially supported by Apple. It is provided as is, and may no
162163
- [termui](https://github.com/gizak/termui) for the terminal UI framework.
163164
- [gopsutil](https://github.com/shirou/gopsutil) for system memory monitoring.
164165
- [asitop](https://github.com/tlkh/asitop) for the original inspiration!
166+
- [htop](https://github.com/htop-dev/htop) for the process list and CPU cores inspiration!

0 commit comments

Comments
 (0)