# 使用 Homebrew, apt, dnf 安装 mon

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

## 安装

```sh
sudo av install brew:mon
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mon
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mon
```

  证据: Debian stable package indexes: mon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mon
```

  证据: Fedora Rawhide package metadata: mon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mon
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mon>
- **版本:** 1.2.3
- **来源摘要:** Monitor hosts/services/whatever and alert about problems
- **主页:** <https://github.com/tj/mon>
- **仓库:** <https://github.com/tj/mon>
- **许可证:** MIT
- **源码归档:** <https://github.com/tj/mon/archive/refs/tags/1.2.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mon (cli)
- mon (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.3
- 本地数据: OK
- 上游仓库: https://github.com/tj/mon
- 检测到的最新版本: 1.2.3 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

mon is TJ Holowaychuk's small C process monitor, framed by its README as a reaction against heavier monitoring tools and their configuration languages. The project deliberately keeps the model simple: run a command, restart it on failure, optionally daemonize it, and call user-supplied scripts on restart or final error.

### 项目历史

The tool is used more like a tiny supervisor than a full metrics system. Its README shows one mon instance per process, shell scripts as configuration, PID files and log prefixes for multiple instances, and companion tools such as mongroup for managing groups of mon processes. Homebrew packages it as a lightweight system utility for monitoring hosts, services, or arbitrary commands and alerting about problems.

### 使用方式

Because public sources for this particular mon package are sparse outside the upstream README and package metadata, its project history is best treated as a short package note rather than a detailed adoption narrative.

### 来源

- <https://formulae.brew.sh/formula/mon>
- <https://github.com/tj/mon>


## 安全说明

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:** mon
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - mon - 1.4.1-2: normalized package name match | Debian stable package indexes: mon from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | monitor hosts/services/whatever and alert about problems | https://doc.coker.com.au/projects/etbe-mon/
- Ubuntu apt - mon - 1.3.8-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: mon from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | monitor hosts/services/whatever and alert about problems | https://doc.coker.com.au/projects/etbe-mon/
- dnf - mon - 1.2.0-47.fc45: normalized package name match | Fedora Rawhide package metadata: mon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | General-purpose resource monitoring system | http://www.kernel.org/software/mon/


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [netdata](https://pkg.so/zh-hans/brew/netdata/) - Shares pkgdb curated category or tags: alerts, cli, monitoring, system.
- [pv](https://pkg.so/zh-hans/brew/pv/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [mactop](https://pkg.so/zh-hans/brew/mactop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [duf](https://pkg.so/zh-hans/brew/duf/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [node_exporter](https://pkg.so/zh-hans/brew/node-exporter/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [ctop](https://pkg.so/zh-hans/brew/ctop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [asitop](https://pkg.so/zh-hans/brew/asitop/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [rrdtool](https://pkg.so/zh-hans/brew/rrdtool/) - Shares pkgdb curated category or tags: cli, monitoring, system.
- [bpytop](https://pkg.so/zh-hans/brew/bpytop/) - Local package facts share a topical domain. Shared terms: cli, monitor, monitoring, process, system.
- [btop](https://pkg.so/zh-hans/brew/btop/) - Local package facts share a topical domain. Shared terms: cli, monitor, monitoring, process, system.

## Combined YAML source

View the package source record on GitHub. [combined/mon.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mon.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
