Mintop
Mintop is a simple, terminal-based process monitor built with Go and the Bubble Tea framework. It provides a real-time view of system processes and resource usage.
Features
- Process Monitoring: View a list of running processes with details such as PID, PPID, name, CPU usage, memory usage, and owner.
- System Information: Displays key system metrics including:
- CPU Usage
- Memory and Swap Usage
- System Load Average
- Interactive Table: The process list is displayed in an interactive table that can be scrolled.
Installation
To build and run Mintop, you need to have Go installed on your system.
-
Clone the repository:
git clone https://github.com/ashwineaso/mintop.git
cd mintop
-
Build the application:
go build
-
Run Mintop:
./mintop
How it Works
Mintop uses the following libraries to gather system information and build the terminal UI:
- Bubble Tea: A powerful framework for building terminal-based applications.
- gopsutil: A cross-platform library for retrieving process and system utilization information.
- Lipgloss: A library for styling terminal output.
The application is structured around the Model-View-Update architecture provided by Bubble Tea. The internal package contains the core logic for fetching data, updating the model, and rendering the view.
Contributing
Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines on how to contribute to the project.