Skip to main content

llmtop

llmtop is an intelligent system monitoring tool that combines real-time system metrics with LLM-powered insights. It provides a dynamic terminal interface showing system performance metrics enhanced with AI-driven analysis.

Note: This project is currently in beta testing. Features and interfaces may change.

llmtop Screenshot

Features

  • Real-time system metrics monitoring (CPU, Memory, Disk, Network)
  • Process monitoring with resource usage
  • AI-powered system analysis using either OpenAI or Ollama
  • Smart alerting system for resource thresholds
  • Dynamic terminal UI with auto-updating metrics

Installation

Install directly from PyPI:

pip install llmtop

LLM Backend Options

llmtop supports two LLM backends for system analysis:

OpenAI (GPT-4)

  1. Set your OpenAI API key:
    export OPENAI_API_KEY='your-api-key-here'
    
  2. Run with OpenAI:
    llmtop --use-openai
    

Ollama (Default)

  1. Install Ollama from ollama.ai
  2. Start the Ollama service
  3. Run llmtop:
    llmtop
    

Command Line Options

llmtop [OPTIONS]

Options:
  --update-frequency INTEGER  Update frequency in seconds (default: 5)
  --use-openai               Use OpenAI instead of local model
  --history-length INTEGER   Number of historical data points to keep (default: 60)
  --help                     Show this message and exit

Usage Tips

  • The tool defaults to using Ollama for analysis, which is free but requires local installation
  • OpenAI mode provides more detailed analysis but requires an API key and has associated costs
  • Adjust update frequency based on your system's performance and monitoring needs

Known Issues

  • Experimental support for Windows systems
  • Update frequency might need adjustment on slower systems
  • Some process names may be truncated in the display

Contributing

This project is in beta, and we welcome contributions! Please feel free to:

  • Report bugs
  • Suggest features
  • Submit pull requests

License

MIT License - see LICENSE file for details.

Acknowledgments

Built using:

  • Rich for terminal UI
  • OpenAI/Ollama for LLM integration
  • psutil for system metrics

Metadata

Release files for llmtop 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llmtop 0.1.0
File Size Uploaded Provenance
llmtop-0.1.0.tar.gz 12.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llmtop 0.1.0
File Interpreter ABI Platform
llmtop-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / llmtop-0.1.0.tar.gz

Download URL llmtop-0.1.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
60dce2e477044c0cbf3170fe4a5cc9e2b3aa7ee9f8799fecbc800875cb44588b
BLAKE2b-256 checksum
How to use checksums
6a2a0c4791b02c41a12099a1709af3b4af3ba9593e7e1a7034f60219ab5fba94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.1

Release files / llmtop-0.1.0-py3-none-any.whl

Download URL llmtop-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c93c6bcfe64004aec7739e9ceea8650a204598c314d4dcdee7c654de26dcff0b
BLAKE2b-256 checksum
How to use checksums
3e215b26887d84794d3855f96f8eb7ce03bfcf7632d98dc2c174a33362bab886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.1

Security for llmtop 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page