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
psinfo nginx -w            # watch nginx processes
psinfo nginx -w 5 -s mem   # watch nginx, sort by memory, 5s interval
psinfo nginx -t            # group by process tree
Flag Short Description
name Search by process name or command
-u, --user USERNAME -u Filter by username
-p, --port PORT -p Find process listening on port
-P, --pid PID -P Show process by PID
-w, --watch [N] -w Live refresh every N seconds (default: 2)
-s, --sort cpu|mem -s Sort order (default: cpu)
-t, --tree -t Group results by process tree hierarchy
-T, --top N -T Show only the top N results
-e, --expand -e Expand command line arguments to full width

Output

Metrics are colour-coded: green (< 10%), orange (≥ 10%), red (≥ 50%). Tree view groups processes by parent/child with totals for subtrees.

Card view

Tree view

User view

Port view

PID view

Top view

Expand 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.4.tar.gz (6.9 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.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psinfo-1.1.4.tar.gz
  • Upload date:
  • Size: 6.9 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.4.tar.gz
Algorithm Hash digest
SHA256 29b34a9e41299d4535fd30b70a9230b2e15fc16cd8c2f3e6b5aeb7a263037584
MD5 2347536bb8f3e86642d75c52f4cbb403
BLAKE2b-256 0cc0b29216478b8d2fda6e4f8e54448c2fe36a9d9f7a4d22ace46d4476953bfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for psinfo-1.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: psinfo-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c844e74eaf72d0fcb2d3383f16133e8c55fb660fd0e6a53679a11b10060bb530
MD5 2e10a8f8084a44b6b67606a8e8619b3f
BLAKE2b-256 7023958bb55a6aca36d401b17ad6ecc0e74bec4aacb1235ad66fd1668b8708ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for psinfo-1.1.4-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