macOS
brew install pstreelocal Homebrew formula metadata
sudo port install pstreeMacPorts ports tree · sysutils/pstree/Portfile · ソース: api.github.com
brew / 順位 1588
pstree のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pstreelocal Homebrew formula metadata
sudo port install pstreeMacPorts ports tree · sysutils/pstree/Portfile · ソース: api.github.com
sudo apk add pstreeAlpine Linux edge package indexes · pstree · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#pstreenixpkgs package indexes · pkgs/by-name/ps/pstree/package.nix · ソース: api.github.com
概要
Show ps output as a tree
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pstree | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/FredHucht/pstree
インストールメタデータ
| パッケージキー | 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 |
| Pulse | updated |
| 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pstree |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
pstree
nix profile install nixpkgs#pstreepstree 2.40-r2
A small tool to list processes as a tree
https://github.com/FredHucht/pstree
sudo apk add pstreepstree-doc 2.40-r2
A small tool to list processes as a tree (documentation)
https://github.com/FredHucht/pstree
sudo apk add pstree-docpstree
sudo port install pstreeソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.