Skip to main content

Rich terminal process viewer

Project description

psinfo

A rich terminal process viewer. Search, filter, and watch running processes with colour-coded output.

psinfo is for when you have a specific question — "what's on port 8080", "how much memory is Chrome using across all its helpers", "is nginx running and what's it doing" — and want a clean answer without launching a full process manager or constructing a ps aux | grep | awk pipeline.


Install

pip install psinfo

Or install as an isolated CLI tool with pipx:

pipx install psinfo

Quick Start

psinfo nginx              # search by process name
psinfo -u jdoe           # all processes owned by a user
psinfo -p 8080           # process listening on a port
psinfo -P 1234           # single process by PID

Flags

Flag Short Description
--watch [N] -w Live refresh every N seconds (default: 2)
--sort cpu|mem -s Sort order (default: cpu)
--tree -t Group results by process tree hierarchy
--top N -T Show only the top N results
--expand -e Expand command line arguments to full width

Examples

psinfo nginx -w              # watch nginx processes
psinfo python -w 5 -s mem    # watch python, sort by memory, 5s interval
psinfo slack -t -w           # slack with tree view

Output

Card View (default)

Each matching process is shown as a panel. The highest-CPU process gets a green border. Metrics are colour-coded: green (< 10%), orange (≥ 10%), red (≥ 50%).

Card view

Tree View (-t)

Results are grouped by parent/child relationships. Parent nodes show their own CPU plus a total across the whole subtree.

Tree view


Requirements

  • Python 3.9+

Platform Support

Platform Status Notes
macOS --port requires sudo
Linux
Windows Shows handles instead of file descriptors

License

MIT — see LICENSE.

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

psinfo-1.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

psinfo-1.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file psinfo-1.1.0.tar.gz.

File metadata

  • Download URL: psinfo-1.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for psinfo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8e219b7439bb6b1ea16ebd384d9bb8a856552f96103929d67b5424dbd0477ed1
MD5 aa00b829915c4eb851a9f4263e7e9c85
BLAKE2b-256 e8be6b4edbe3c319e6408d25c2dc524b794f3c6163bf6fd81b2992c920fdf502

See more details on using hashes here.

Provenance

The following attestation bundles were made for psinfo-1.1.0.tar.gz:

Publisher: release.yml on dblore/psinfo

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

File details

Details for the file psinfo-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: psinfo-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for psinfo-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d035ea21e5348484b5ce37eead6ec03b64bcafbc7106071bd3311c16fb1d2f8a
MD5 3f401c860c3d8680cee692e73f10f47e
BLAKE2b-256 7a6452974b5bf5e414b42f937832345c1db13b95be43b22d5dc5c62651990f85

See more details on using hashes here.

Provenance

The following attestation bundles were made for psinfo-1.1.0-py3-none-any.whl:

Publisher: release.yml on dblore/psinfo

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