pkg.soopen package index

brew / Rang 1588

pstree mit Homebrew, apk, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für pstree in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install pstree

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install pstree

MacPorts ports tree · sysutils/pstree/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add pstree

Alpine Linux edge package indexes · pstree · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#pstree

nixpkgs package indexes · pkgs/by-name/ps/pstree/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Show ps output as a tree

Befehle und Aliase

  • pstree

Verlauf

Projektgeschichte und Nutzung

Fred Hucht's pstree is a portable Unix command that renders the process hierarchy as a tree and supports filtering by user, process ID, command text, and depth.

Projektgeschichte

Fred Hucht's pstree began as a shell script in the early 1990s. The first C version dates to 1992, and the source was managed in RCS from 1994. It was formerly distributed from the University of Duisburg-Essen through FTP and a project webpage; in 2022 the project moved to GitHub.

Adoptionsgeschichte

The implementation was designed for portability across Unix systems. Its official README lists AIX, Linux, HP-UX, A/UX, SunOS, Solaris, BSD variants, and macOS among tested systems. The supplied metadata records current packaging in Homebrew, Alpine Linux, MacPorts, and Nix.

Wie es verwendet wird

pstree normally obtains process information from ps and displays parent-child relationships from PID 1 or selected process IDs. On Linux it can read /proc directly. Options filter branches by user, PID, or command text, limit depth, choose line-drawing characters, and request wide output.

Warum Paket-Nerds sich dafür interessieren

This pstree is a compact example of a durable Unix utility migrating through successive distribution eras: shell script, portable C program, RCS-managed source, FTP and university-hosted releases, package-manager distribution, and finally GitHub. It remains useful because parent-child process relationships are often easier to diagnose as a tree than as a flat ps listing.

Zeitleiste

  • Early 1990s: pstree began as a shell script.
  • 1992: First C version.
  • 1994: Source management moved to RCS.
  • 2022: Project moved from its former university distribution sites to GitHub.

Related projects

  • ps supplies process data on most supported Unix systems.
  • Linux /proc is read directly by the Linux implementation path.
  • The similarly named pstree shipped by psmisc is a distinct implementation and should not be conflated with Fred Hucht's project.

Quellen

  • Official manual page: https://github.com/FredHucht/pstree/blob/main/pstree.1
  • Official project README: https://github.com/FredHucht/pstree#readme

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 12 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
pstreecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-09-19
Manager-Version2.40
Manager aktualisiert2026-09-18
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv2.40

https://github.com/FredHucht/pstree

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:pstree
Version2.40
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/pstree
Homepagehttps://github.com/FredHucht/pstree
Repositoryhttps://github.com/FredHucht/pstree
LizenzGPL-3.0-only
Quellarchivhttps://github.com/FredHucht/pstree/archive/refs/tags/v2.40.tar.gz
Zuletzt aktualisiert2026-09-18T09:17:53+02:00
Pulseupdated
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepstree
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

pstree

nix profile install nixpkgs#pstree
  • normalized package name match
  • Abgeglichen nach: Pstree
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ps/pstree/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

pstree 2.40-r2

A small tool to list processes as a tree

https://github.com/FredHucht/pstree

sudo apk add pstree
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: pstree
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Pstree
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pstree from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pstree-doc 2.40-r2

A small tool to list processes as a tree (documentation)

https://github.com/FredHucht/pstree

sudo apk add pstree-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: pstree
  • normalized package name match
  • Abgeglichen nach: Pstree
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pstree-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
MacPorts95%

pstree

sudo port install pstree
  • normalized package name match
  • Abgeglichen nach: Pstree
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/pstree/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation