mintop

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

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.

  1. Clone the repository:

    git clone https://github.com/ashwineaso/mintop.git
    cd mintop
    
  2. Build the application:

    go build
    
  3. 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL