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 |
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%).
Tree View (-t)
Results are grouped by parent/child relationships. Parent nodes show their own CPU plus a ∑ total across the whole subtree.
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
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
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 psinfo-1.0.2.tar.gz.
File metadata
- Download URL: psinfo-1.0.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e67b5efade2e4da5b89f7c8a55f5f80418f1b8a4ec42a98d168ab8359900f870
|
|
| MD5 |
a4fb742acee41b27e02638e06822391b
|
|
| BLAKE2b-256 |
1e0cf5892d226d562c5fea10148a40d7f6d8ae11e6bc01f668d2d9e1621e8616
|
Provenance
The following attestation bundles were made for psinfo-1.0.2.tar.gz:
Publisher:
release.yml on dblore/psinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psinfo-1.0.2.tar.gz -
Subject digest:
e67b5efade2e4da5b89f7c8a55f5f80418f1b8a4ec42a98d168ab8359900f870 - Sigstore transparency entry: 1233366247
- Sigstore integration time:
-
Permalink:
dblore/psinfo@f446904470138dbdfe7287a029de1e88c942382d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dblore
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f446904470138dbdfe7287a029de1e88c942382d -
Trigger Event:
push
-
Statement type:
File details
Details for the file psinfo-1.0.2-py3-none-any.whl.
File metadata
- Download URL: psinfo-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e9d2f8f8f572d52b5c346fb1f15bb927896ebcb15bd9a74d86fb936e1aafc98
|
|
| MD5 |
47f6b90945842323c625aaba3f1e81df
|
|
| BLAKE2b-256 |
0f97f84b5a4e50832ff1bf681c3a2de859698129d64e43b59dd6e34f58e7bb98
|
Provenance
The following attestation bundles were made for psinfo-1.0.2-py3-none-any.whl:
Publisher:
release.yml on dblore/psinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psinfo-1.0.2-py3-none-any.whl -
Subject digest:
6e9d2f8f8f572d52b5c346fb1f15bb927896ebcb15bd9a74d86fb936e1aafc98 - Sigstore transparency entry: 1233366266
- Sigstore integration time:
-
Permalink:
dblore/psinfo@f446904470138dbdfe7287a029de1e88c942382d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dblore
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f446904470138dbdfe7287a029de1e88c942382d -
Trigger Event:
push
-
Statement type: