A cross-platform interactive process monitor (like top) using psutil and rich.
Project description
pybtm
A cross-platform interactive process monitor for Linux and macOS, inspired by top, built with psutil and rich.
Features
- Interactive process table with live updates
- Navigate with J/K or Up/Down arrows
- Kill selected process with X
- Shows PID, name, CPU %, and RAM usage (MB)
- Adjustable snapshot frequency (default: 3 seconds)
- Works on Linux and macOS
Installation
pip install .
Usage
pybtm [-f FREQUENCY]
-f,--frequency: Set snapshot frequency in seconds (default: 3)
Controls
j/ Down Arrow: Move selection downk/ Up Arrow: Move selection upx: Kill selected process (SIGKILL)q: Quit- Space Bar: Freeze process sequence
Requirements
- Python 3.8+
- psutil
- rich
Notes
- Killing processes may require root/administrator privileges.
- Some processes may not show all information due to system permissions.
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
pybottom-0.1.0.tar.gz
(4.2 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
File details
Details for the file pybottom-0.1.0.tar.gz.
File metadata
- Download URL: pybottom-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e8249aff44e2ec9f884812a37657a396fbaf4a77828b535eeb2a54a29eb1f55
|
|
| MD5 |
537f679a45b9bf202956d5f654d41431
|
|
| BLAKE2b-256 |
db0016642b6609bc98d22df9bca67a8dbc012c48107a46659f75d81ca36a5d2b
|
File details
Details for the file pybottom-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pybottom-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28e28aa020c2e72877646a56995caeea04a14402e32c9e55a10988969929b943
|
|
| MD5 |
b46a3c544f506ec53bead8d8e70951aa
|
|
| BLAKE2b-256 |
5be15cb55427ca850b2a6912c6913d11909085370f3a517636c5d513ebd36bc2
|