# 使用 Homebrew, MacPorts 安装 dwatch

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

## 安装

```sh
sudo av install brew:dwatch
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dwatch
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dwatch
```

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

## 软件包事实

- **软件包键:** brew:dwatch
- **软件包管理器:** Homebrew
- **版本:** 0.1.1
- **来源摘要:** Watch programs and perform actions based on a configuration file
- **主页:** <https://siag.nu/dwatch/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dwatch (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.1
## 项目历史与用法

Dwatch, short for Daemon Watch, is a small Unix monitoring tool by Ulric Eriksson. Its official page says it watches other programs and performs actions from conditions in a configuration file, and that it is meant to be run periodically from cron.

### 项目历史

The official changelog records Dwatch's creation on 2001-08-20 to keep Pen, another Siag project, running on siag.nu, with release 0.1.0 published at the same time. The project page is deliberately old-school Unix: make, make install, a sample dwatch.conf, and notes that Linux and Solaris were known to work.

### 采用历史

Public adoption evidence is thin. The official page links a source download and an external SUSE RPM, while the batch input lists Homebrew and MacPorts formulae, suggesting survival mostly as a niche packaged Unix utility rather than a widely discussed monitoring system.

### 使用方式

The sample configuration shows directive, argument, and command columns, including examples that restart Pen when a process or TCP check is not satisfied. The intended workflow is to let cron invoke dwatch regularly, with dwatch deciding whether to run recovery commands.

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

Dwatch is package-nerd interesting mostly as a fossil of early-2000s Unix service babysitting: a tiny cron-friendly daemon watcher from the same ecosystem as Pen and Siag Office, before modern supervisors and service managers became the default answer.

### 时间线

- 2001: Dwatch created to keep Pen running on siag.nu; release 0.1.0 published.
- 2001: Official page dated August 2001 documents Linux and Solaris support.
- 2026: Batch input lists Homebrew and MacPorts packaging.

### Related projects

- The official page ties Dwatch directly to Pen, using Pen as the example service to restart. In package-manager terms it sits near cron, watchdog scripts, service supervisors, and small Unix monitoring tools.

### 来源

- <https://siag.nu/dwatch>
- <https://siag.nu/dwatch/ChangeLog>
- <https://siag.nu/dwatch/dwatch.conf>


## 安全说明

narrow executable package without higher-risk signals.

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

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

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


## Combined YAML source

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


## 来源

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