pkg.soopen package index

brew / 順位 1588

pstree を Homebrew, apk, MacPorts, Nix でインストール

pstree のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pstree

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install pstree

MacPorts ports tree · sysutils/pstree/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add pstree

Alpine Linux edge package indexes · pstree · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#pstree

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

概要

パッケージ概要

Show ps output as a tree

コマンドとエイリアス

  • pstree

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

ソース

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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
pstreecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-09-19
マネージャ版2.40
マネージャ更新日2026-09-18
ローカルデータOK
上流最新
検出された最新v2.40

https://github.com/FredHucht/pstree

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pstree
バージョン2.40
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pstree
ホームページhttps://github.com/FredHucht/pstree
リポジトリhttps://github.com/FredHucht/pstree
ライセンスGPL-3.0-only
ソースアーカイブhttps://github.com/FredHucht/pstree/archive/refs/tags/v2.40.tar.gz
最終更新2026-09-18T09:17:53+02:00
Pulseupdated
Bottle利用可能 (対象 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-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

pstree

nix profile install nixpkgs#pstree
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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