Skip to content

Commit

Permalink
Fixes closing and polling rate
Browse files Browse the repository at this point in the history
Updates to fix closing goasitop, polling rate of powermetrics for better real-time data, network and disk stats added.
  • Loading branch information
metaspartan committed Apr 21, 2024
1 parent 141e958 commit 0ef34d8
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 136 deletions.
5 changes: 1 addition & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ brews:
bin.install "{{ .ProjectName }}"
repository:
owner: "context-labs"
name: "goasitop"

# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
name: "goasitop"
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# goasitop

`goasitop` is a terminal-based monitoring tool designed to display real-time power metrics for Apple Silicon chips. 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.
`goasitop` is a terminal-based monitoring tool "top" designed to display real-time power metrics for Apple Silicon chips. 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!

![Screenshot](screenshot.png)

Expand All @@ -10,14 +10,10 @@
- Real-time CPU and GPU power usage display.
- Detailed metrics for different CPU clusters (E-Cores and P-Cores).
- Memory usage and swap information.
- Network usage information and Disk Activity Read/Write
- Easy-to-read terminal UI
- Support for all Apple Silicon models.

## Known Bugs

- Cannot exit cleanly with Ctrl + C etc. must kill terminal process for goasitop exit.
- Improvements to be made to the UI, data polling rate, etc. WIP

## Install via Homebrew

```bash
Expand Down Expand Up @@ -63,13 +59,13 @@ After installation, you can start `goasitop` by simply running:

Use the following keys to interact with the application:
- `q`: Quit the application.
- `r`: Refresh the data manually.
- `r`: Refresh the UI data manually.

## Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

1. Fork the Project
1. Fork goasitop
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
Expand All @@ -90,5 +86,3 @@ Project Link: [https://github.com/context-labs/goasitop](https://github.com/cont
- [termui](https://github.com/gizak/termui) for the terminal UI framework.
- [gopsutil](https://github.com/shirou/gopsutil) for system memory monitoring.
- [asitop](https://github.com/tlkh/asitop) for the original inspiration!
```

Loading

0 comments on commit 0ef34d8

Please sign in to comment.