A process monitor in your terminal title
Project description
Toptle 🐢
A transparent process monitor that displays real-time resource stats in your terminal title.
Your terminal title shows: ORIGINAL_TITLE 🐢5.2% CPU, 45.1MB RAM🐢
Installation
Via Nix flake:
nix profile install github:YPares/toptle
# or run directly:
nix run github:YPares/toptle -- <command>
From source:
git clone https://github.com/YPares/toptle.git && cd toptle
pip install -e .
Usage
toptle [OPTIONS] [--] COMMAND [ARGS...]
Options:
--refresh,-r- Update interval in seconds (default: 2.0)--metrics,-m- Display: cpu,ram,disk,files,threads,procs,all (default: cpu,ram)--pty,-p- PTY mode for edge cases
Examples:
toptle python -m http.server 8000 # Basic usage
toptle -r 0.5 make -j4 # Faster updates
toptle -m all ./build-script.sh # All metrics
toptle --pty special-app # PTY mode if needed
Features
- Customizable metrics - CPU, RAM, disk I/O, file descriptors, threads, process count
- Process tree monitoring - Tracks parent and all child processes
- Title interception - Captures and combines with app titles (requires
--pty)
Modes
- Default: Direct mode - zero overhead but will ignore title sequence(s) sent by application
--pty: PTY mode - full title interception. Might also be needed by certain apps to work properly
Limitations
- Title display depends on terminal emulator support for ANSI escape sequences
- Process tree detection may miss processes that detach from the parent
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
toptle-0.1.1.tar.gz
(11.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
toptle-0.1.1-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file toptle-0.1.1.tar.gz.
File metadata
- Download URL: toptle-0.1.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ede3487ba82779cc90bc8cedc1ddb8bec35d69bc8e21e23fdf4d49139f2adcb2
|
|
| MD5 |
cac524a2bd0391899bab5cca4b28f154
|
|
| BLAKE2b-256 |
7504cb9a6fa8bf04af6c82d157e956a4c673f29e03ff593b5cebaa4b92c269cb
|
File details
Details for the file toptle-0.1.1-py3-none-any.whl.
File metadata
- Download URL: toptle-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc8e91b329c02cda25cfa68af9a77f2feb04f17a04313756081a2805a8d518e8
|
|
| MD5 |
07094aef5dd685dc47126f9df1c8d4fa
|
|
| BLAKE2b-256 |
aa39fb36bf783b5d1b6511e3e5e8ef0d6e2bd07b1099b1c32cc5b2bae3767e3a
|