# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 atop

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

## 安装

```sh
sudo av install brew:atop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install atop
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add atop
```

  证据: Alpine Linux edge package indexes: atop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install atop
```

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

- dnf (92%):

```sh
sudo dnf install atop
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#atop
```

  证据: nixpkgs package indexes: pkgs/by-name/at/atop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S atop
```

  证据: Arch Linux sync databases: atop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install atop
```

  证据: openSUSE Tumbleweed package metadata: atop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:atop
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/atop>
- **版本:** 2.12.1
- **来源摘要:** Advanced system and process monitor for Linux using process events
- **主页:** <https://www.atoptool.nl>
- **仓库:** <https://github.com/Atoptool/atop>
- **上游文档:** <https://github.com/Atoptool/atop/tree/master/man>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/Atoptool/atop/archive/refs/tags/v2.12.1.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- atop (cli)
- atop-2.12.1 (cli)
- atopacctd (cli)
- atopcat (cli)
- atopconvert (cli)
- atopgpud (cli)
- atophide (cli)
- atopsar (cli)
- atopsar-2.12.1 (cli)
- atop (别名)
- atop-2.12.1 (别名)
- atopacctd (别名)
- atopcat (别名)
- atopconvert (别名)
- atopgpud (别名)
- atophide (别名)
- atopsar (别名)
- atopsar-2.12.1 (别名)

## 依赖

- glib
- ncurses
- zlib-ng-compat

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, x86_64_linux

## 版本和新鲜度

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

Atop is an advanced Linux system and process monitor. It combines live terminal monitoring, process accounting, raw log recording, and historical reporting through companion tools such as atopsar.

### 项目历史

The official README credits Gerlof Langeveld as creator and maintainer and describes Atop as an ASCII full-screen performance monitor for Linux. Unlike simple top-style views, Atop records activity for all processes active during an interval, including processes that have already exited before the next screen refresh.

The project has evolved from live resource display into a broader performance-analysis suite. The README emphasizes daily logging of compressed raw counters for long-term analysis, atopsar reporting from those logs, cgroup-level resource consumption, optional per-process network accounting through netatop or netatop-bpf, and GPU accounting through atopgpud.

Recent GitHub releases show continued active maintenance: v2.10.0 in January 2024, v2.11.x in 2024 and 2025, and v2.12.x in 2025. The June 2026 man page indicates ongoing documentation updates for live bar graph mode, cgroup mode, raw log writing, JSON/parsable output, and twin mode.

### 采用历史

Atop is packaged broadly in Linux distributions and also appears in Homebrew, but its natural home is Linux operations. The input package facts list Debian, Ubuntu, Fedora, Alpine, Arch, Nix, and openSUSE packages, matching a tool used by administrators who need historical process-level data after an incident.

Its adoption is helped by features that fill gaps between `top`, `sar`, and process accounting: storing daily raw logs, preserving exited-process activity, and showing disk, network, memory, CPU, cgroup, thread, container, and optional GPU details in one terminal interface.

### 使用方式

Interactive usage is top-like: run `atop` with an interval and optional samples, switch views, inspect busy resources, and use colors or markers for critical resource pressure. The man page also documents bar graph mode, cgroup text mode, process text mode, parsable or JSON output, raw log writing, and replay from raw files.

Historical usage centers on `/var/log/atop/atop_YYYYMMDD` raw logs and `atopsar`, which can extract reports from prior Atop recordings or sample live kernel counters. The atoprc manual documents system-wide `/etc/atoprc` and user `~/.atoprc` settings for defaults such as flags, intervals, thresholds, colors, and resource line limits.

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

Atop matters to package nerds because it is one of the rare terminal monitors where packaging, init integration, and log retention policy are core to the tool's value. Installing it is not just dropping a binary; distributions often wire it into periodic logging so historical data exists when the user finally needs it.

It is also Linux-specific in a principled way. The package exposes kernel counters, cgroups, optional BPF/network modules, and daemonized logging rather than trying to be a lowest-common-denominator cross-platform monitor.

### 时间线

- 2024-01: GitHub release v2.10.0 published.
- 2024-07: GitHub release v2.11.0 published.
- 2025-04: GitHub release v2.11.1 published.
- 2025-06: GitHub release v2.12.0 published.
- 2025-09: GitHub release v2.12.1 published.
- 2026-06: Official atop(1) man page date reflects continued documentation maintenance.

### Related projects

- Related tools include top, htop, iotop, pidstat, sysstat/sar, dstat, glances, netatop, netatop-bpf, atopgpud, and atopsar. Atop's distinguishing feature is tying live process/resource display to long-term raw logs.

### 来源

- Official GitHub README.
- Official GitHub releases API.
- Official atop(1), atoprc(5), and atopsar(1) man pages.
- input source_facts.package-manager.


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/atoprc, ~/.atoprc, /etc/default/atop
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** atop
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - atop - 2.11.1-3: normalized package name match | Debian stable package indexes: atop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Monitor for system resources and process activity | https://atoptool.nl/
- Nix - atop: normalized package name match | nixpkgs package indexes: pkgs/by-name/at/atop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - atop - 2.10.0-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: atop from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Monitor for system resources and process activity | https://atoptool.nl/
- apk - atop - 2.12.1-r0: normalized package name match | Alpine Linux edge package indexes: atop from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Resource-specific view of processes | https://www.atoptool.nl/
- apk - atop-doc - 2.12.1-r0: normalized package name match | Alpine Linux edge package indexes: atop-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Resource-specific view of processes (documentation) | https://www.atoptool.nl/
- apk - atop-openrc - 2.12.1-r0: normalized package name match | Alpine Linux edge package indexes: atop-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Resource-specific view of processes (OpenRC init scripts) | https://www.atoptool.nl/
- dnf - atop - 2.12.1-3.fc44: normalized package name match | Fedora Rawhide package metadata: atop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | An advanced interactive monitor to view the load on system and process level | https://www.atoptool.nl
- pacman - atop - 2.12.1-1: normalized package name match | Arch Linux sync databases: atop from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A system and process level monitor | https://www.atoptool.nl/
- zypper - atop - 2.12.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: atop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Monitor for System Resources and Process Activity | https://www.atoptool.nl/
- zypper - atop-daemon - 2.12.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: atop-daemon from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | System Resource and Process Monitoring History Daemon | https://www.atoptool.nl/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [ncurses](https://www.automicvault.com/zh-hans/pkg/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [htop](https://www.automicvault.com/zh-hans/pkg/brew/htop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [apachetop](https://www.automicvault.com/zh-hans/pkg/brew/apachetop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [asitop](https://www.automicvault.com/zh-hans/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [auditbeat](https://www.automicvault.com/zh-hans/pkg/brew/auditbeat/) - Shares av.db curated category or tags: cli, monitoring, system.
- [augeas](https://www.automicvault.com/zh-hans/pkg/brew/augeas/) - Shares av.db curated category or tags: cli, system.
- [bpftop](https://www.automicvault.com/zh-hans/pkg/brew/bpftop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [collectd](https://www.automicvault.com/zh-hans/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, monitoring, system.
- [conmon](https://www.automicvault.com/zh-hans/pkg/brew/conmon/) - Shares av.db curated category or tags: cli, monitoring, system.
- [btrfs-progs](https://www.automicvault.com/zh-hans/pkg/brew/btrfs-progs/) - Local package facts share a topical domain. Shared terms: cli, compat, linux, system, zlib.

## Combined YAML source

View the package source record on GitHub. [combined/atop.yml](https://github.com/automic-vault/db/blob/main/combined/atop.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
