Skip to main content

A lightweight CLI to monitor Ollama models and usage

Project description

olmon

A lightweight CLI to monitor your Ollama models and usage in real time.


PyPI PyPI Downloads License

$ olmon watch
Watching http://localhost:11434 every 2s โ€” Ctrl+C to stop

  ๐ŸŸข Ollama v0.30.8 โ€” 14 models installed, 2 running

  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
  โ”ƒ Name            โ”ƒ Size   โ”ƒ VRAM   โ”ƒ Expires At   โ”ƒ
  โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
  โ”‚ llama3.2:latest โ”‚ 2.4 GB โ”‚ 2.4 GB โ”‚ 2026-06-23   โ”‚
  โ”‚ qwen2.5:7b      โ”‚ 4.4 GB โ”‚ 4.4 GB โ”‚ 2026-06-23   โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Features

  • ๐Ÿ”„ Real-time dashboard โ€” live auto-refreshing view of running models
  • ๐Ÿ“‹ Model listing โ€” browse all installed models with size, family, and quantization
  • ๐Ÿ” Model inspection โ€” full details on any installed model
  • ๐ŸŸข Status indicators โ€” green / blue / red at a glance
  • โš™๏ธ Configurable โ€” set your API host and refresh interval
  • ๐Ÿชถ Lightweight โ€” minimal dependencies, works over SSH on headless servers

Requirements

  • Python 3.13+
  • Ollama installed and running

Installation

pip

pip install olmon

curl (Linux / macOS)

curl -fsSL https://raw.githubusercontent.com/glemiu6/olmon/master/scripts/install.sh | sh

From source

git clone https://github.com/glemiu6/olmon.git
cd olmon
uv pip install -e .

Windows

Native Windows binary is not currently supported. Use WSL and follow the Linux installation instructions.

Usage

olmon status               # quick health check
olmon models               # list all installed models
olmon models --sort size   # sort by size
olmon models --filter llama  # filter by name or family
olmon inspect llama3:latest  # full details on a model
olmon ps                   # show currently running models
olmon watch                # live auto-refreshing dashboard
olmon watch --interval 5   # refresh every 5 seconds

Global flags

olmon --host http://192.168.1.10:11434 status   # connect to remote Ollama
olmon --version                                  # print version

Status Indicators

Indicator Meaning
๐ŸŸข Green Models are loaded and running
๐Ÿ”ต Blue Ollama is idle, no models loaded
๐Ÿ”ด Red Ollama is offline or unreachable

Configuration

olmon init          # create default config file
olmon config show   # view current config

Config is stored at ~/.config/olmon/config.json:

{
  "host": "http://localhost:11434",
  "interval": 2,
  "no_color": false,
  "default_sort": "name"
}

Update & Uninstall

olmon update      # update to latest version
olmon uninstall   # remove olmon and config

Why olmon?

Most Ollama monitoring tools are GUI or system tray apps. olmon is built for:

  • Headless Linux servers โ€” no GUI required
  • Remote monitoring โ€” works over SSH
  • Shell scripting โ€” pipe-friendly with --json flag and exit codes
  • DevOps workflows โ€” integrate into scripts and cron jobs

Roadmap

See ROADMAP.md for the full plan.


Contributing

Contributions are welcome. Feel free to open an issue or submit a pull request.


License

MIT โ€” see LICENSE for details.


Made with โค๏ธ by Vlad Digori

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

olmon-0.1.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

olmon-0.1.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file olmon-0.1.2.tar.gz.

File metadata

  • Download URL: olmon-0.1.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for olmon-0.1.2.tar.gz
Algorithm Hash digest
SHA256 75ad1703c7b5de694228176a7f939f44d117d9e2d6eb03f8e48f90d840211f99
MD5 1e481611432319241b474f041ef00872
BLAKE2b-256 358e239c3a3b6ee8a33046e5fd38cd2a57aaee41fe575882deba3fd09811b607

See more details on using hashes here.

Provenance

The following attestation bundles were made for olmon-0.1.2.tar.gz:

Publisher: release.yaml on glemiu6/olmon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file olmon-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: olmon-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for olmon-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 432ca5da7687985d90d85a598ba023d6e24bd01f0257e3829da3ba4bc9a5e0f1
MD5 675c69a2fcc04a61c28b4cfe85c5b32b
BLAKE2b-256 d0e8e71653c32448b28c16f723996dc246c917744ea43b97f948e4ab0f10449f

See more details on using hashes here.

Provenance

The following attestation bundles were made for olmon-0.1.2-py3-none-any.whl:

Publisher: release.yaml on glemiu6/olmon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page