# 使用 Homebrew, MacPorts 安装 proctools

查看 proctools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:proctools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install proctools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install proctools
```

  证据: MacPorts ports tree: sysutils/proctools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:proctools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/proctools>
- **版本:** 0.4pre1
- **来源摘要:** OpenBSD and Darwin versions of pgrep, pkill, and pfind
- **主页:** <https://proctools.sourceforge.net/>
- **上游文档:** <https://proctools.sourceforge.net/>
- **许可证:** BSD-3-Clause AND BSD-4-Clause-UC
- **源码归档:** <https://downloads.sourceforge.net/project/proctools/proctools/0.4pre1/proctools-0.4pre1.tar.gz>
- **最后更新:** 2026-07-11T16:46:52+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pfind (cli)
- pgrep (cli)
- pkill (cli)
- pfind (别名)
- pgrep (别名)
- pkill (别名)

## 构建依赖

- bsdmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4pre1
- 管理器更新时间: 2026-07-11
- 本地数据: OK
- 上游仓库: https://proctools.sourceforge.net/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

proctools is a set of text-based process utilities providing pgrep, pkill, and pfind for OpenBSD and Darwin/Mac OS X.

### 项目历史

The upstream homepage describes proctools as recreating Solaris pgrep and pkill for other operating systems, with the same command-line interface plus additional features. It identifies version 0.4pre1 as current on 07 December 2003.

### 采用历史

The supplied package facts show packaging in Homebrew and MacPorts, matching the project's Darwin focus.

### 使用方式

pgrep prints matching process IDs, pkill sends signals to matching processes, and pfind provides find-like syntax for more precise process matching and interactive signal control.

### 为什么软件包爱好者会关心

proctools is relevant to package-manager history because it filled a portability gap before pgrep and pkill became common across Unix-like systems, especially for BSD and early Mac OS X users.

### 时间线

- Solaris 7: Original pgrep and pkill commands appeared.
- 2003: proctools 0.4 added pfind and Darwin support.
- 2003-12-07: Upstream homepage lists 0.4pre1 as current.

### Related projects

- Solaris pgrep
- Solaris pkill
- OpenBSD
- Darwin
- ps
- killall

### 来源

- <https://proctools.sourceforge.net/>
- <https://proctools.sourceforge.net/pgrep.html>
- <https://proctools.sourceforge.net/pkill.html>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** proctools
- **Aliases:** pgrep, pkill
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- MacPorts - proctools: normalized package name match | MacPorts ports tree: sysutils/proctools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [bsdmake](https://pkg.so/zh-hans/brew/bsdmake/) - Build dependency declared by Homebrew.
- [procs](https://pkg.so/zh-hans/brew/procs/) - Shares pkgdb curated category or tags: cli, process-management, processes, system.
- [psgrep](https://pkg.so/zh-hans/brew/psgrep/) - Shares pkgdb curated category or tags: cli, process-management, processes, system.
- [procps](https://pkg.so/zh-hans/brew/procps/) - Shares pkgdb curated category or tags: cli, process-management, processes, system.
- [reattach-to-user-namespace](https://pkg.so/zh-hans/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [cpulimit](https://pkg.so/zh-hans/brew/cpulimit/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [daemon](https://pkg.so/zh-hans/brew/daemon/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [killport](https://pkg.so/zh-hans/brew/killport/) - Shares pkgdb curated category or tags: cli, process-management, system.
- [lockrun](https://pkg.so/zh-hans/brew/lockrun/) - Shares pkgdb curated category or tags: cli, process-management, system.

## Combined YAML source

View the package source record on GitHub. [combined/proctools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/proctools.yml)


## 来源

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