shervinsights
shervinsights is a read-only Mac/Linux system triage CLI.
It provides a compact summary of common machine-level issues and offers follow-up commands for deeper inspection. It is designed to be safe by default: it does not kill processes, delete files, restart services, or modify system state.
What it checks
- system load
- disk and inode usage
- high CPU and memory processes
- zombie and uninterruptible-sleep processes
- deleted-but-open files
- actively growing log-like files
- listening TCP ports
- Python and model-serving-like processes
- shell script syntax errors
- Linux-specific services, logs, timers, and GPU state when available
Install
pip install shervinsights
If your Python environment blocks direct installs, use a virtual environment:
python3 -m venv ~/.venvs/shervinsights
~/.venvs/shervinsights/bin/pip install shervinsights
~/.venvs/shervinsights/bin/shervinsights --hints
Usage
shervinsights
shervinsights --hints
shervinsights --sample 10 --hints
Show more detail for a specific area:
shervinsights --details disk
shervinsights --details proc
shervinsights --details logs
shervinsights --details ports
shervinsights --details scripts
shervinsights --details ml
shervinsights --details linux
Examples
Compact summary:
shervinsights --hints
Check log growth over a longer window:
shervinsights --details logs --sample 10 --hints
Inspect process pressure:
shervinsights --details proc --hints
Inspect ports:
shervinsights --details ports --hints
Safety
shervinsights is read-only. It prints observations and suggested next commands, but it does not apply fixes automatically.
Typical follow-up commands include:
ps -p PID -o pid,ppid,user,stat,pcpu,pmem,command
lsof -p PID
lsof FILE
tail -n 100 FILE
curl -v localhost:PORT
bash -n SCRIPT
bash -x SCRIPT
Platform notes
On macOS, shervinsights primarily uses:
pslsofdfdufindtailbashcurl
On Linux, it also uses available tools such as:
systemctljournalctlssnvidia-smi/proc
Output depends on the current user's permissions. Without elevated privileges, some process, file, service, or log details may be hidden by the operating system.
License
MIT
Metadata
Release files for shervinsights 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shervinsights-0.1.2.tar.gz | 6.5 kB | Without provenance | Details for shervinsights-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shervinsights-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for shervinsights-0.1.2-py3-none-any.whl |
Total release size: 13.5 kB
Release files / shervinsights-0.1.2.tar.gz
| Download URL | shervinsights-0.1.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
446e789c70593dcb856f25e5394abbcfa21042100414e47bd419ae8aefa8b8f6
|
|
BLAKE2b-256 checksum How to use checksums |
95f8a08dd86e101cc0f6ee425eac4fdca0ce83a48105770843423c05eefd4bc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / shervinsights-0.1.2-py3-none-any.whl
| Download URL | shervinsights-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d07ba954c864193ca7e0f5010dbcacd7f6467421799f3ae9e2cad2baaf133676
|
|
BLAKE2b-256 checksum How to use checksums |
a569639ac69601a19d696b8bbf35f3e706fc3024f41058c19572077014d7b893
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for shervinsights 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.