(Edit: https://en.wikipedia.org/wiki/Performance_Monitor in case people are unaware, usually known as... perfmon)
You should give a direct curl to an install.sh to provide a simpler installation step for you tool and besides I think it would be good to publish it on home brew for MacOS users.
This post came in a good moment because I am developing a CLI and I want to add some interactivity to it in the next major version and in some way your CLI has helped me with that.
This is my CLI (https://github.com/elC0mpa/aws-doctor)
There you can check how I implemented the home brew distribution and the install.sh file for the easy installation step
Bottom(btm) gives just more graphical than top.
A modern, lightweight, and customizable TUI performance monitor for your terminal.
Features • Installation • Usage • Configuration • Contributing
Traditional performance monitors often overwhelm users with information or lack the flexibility to show exactly what you need. Perfmon solves this by providing:
top, vmstat, netstat) in one place.Download the latest pre-compiled binaries from the Releases page.
go installgo install github.com/sumant1122/Perfmon@latest
git clone https://github.com/sumant1122/Perfmon.git
cd Perfmon
make build
# Binary will be in the project root
Simply run the command to start monitoring with default system tools:
perfmon
| Key | Action |
|---|---|
Tab / Shift+Tab |
Next / Previous Tab |
j / k (or ↓/↑) |
Scroll through command output |
t |
Toggle Light/Dark theme |
v |
Display version information |
q / Esc / Ctrl+C |
Exit Perfmon |
Perfmon is designed to be personalized. It looks for perfmon.toml in:
$PERFMON_CONFIG~/.config/perfmon/config.toml# Interval for updating the sparklines and default tabs
global_refresh_interval = "5s"
[[tab]]
title = "Process Explorer"
cmd = ["top", "-b", "-n", "1"]
refresh_interval = "2s" # Specific interval for this tab
[[tab]]
title = "Network Connections"
cmd = ["ss", "-tulpn"]
We utilize a simple Makefile for a streamlined development experience:
make run: Start the application in development mode.make build: Compile the binary.make test: Execute the test suite.make lint: Run the golangci-lint (if installed).We love contributions! Whether it's a bug report, a new feature idea, or a documentation improvement, please feel free to:
Distributed under the MIT License. See LICENSE for details.