Skip to main content

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 down
  • k / Up Arrow: Move selection up
  • x: 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


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)

Uploaded Source

Built Distribution

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

pybottom-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for pybottom-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e8249aff44e2ec9f884812a37657a396fbaf4a77828b535eeb2a54a29eb1f55
MD5 537f679a45b9bf202956d5f654d41431
BLAKE2b-256 db0016642b6609bc98d22df9bca67a8dbc012c48107a46659f75d81ca36a5d2b

See more details on using hashes here.

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

Hashes for pybottom-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28e28aa020c2e72877646a56995caeea04a14402e32c9e55a10988969929b943
MD5 b46a3c544f506ec53bead8d8e70951aa
BLAKE2b-256 5be15cb55427ca850b2a6912c6913d11909085370f3a517636c5d513ebd36bc2

See more details on using hashes here.

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