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

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

## 安装

```sh
sudo av install brew:libstatgrab
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libstatgrab
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libstatgrab
```

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

- Debian apt (92%):

```sh
sudo apt install libstatgrab-dev
```

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

- dnf (92%):

```sh
sudo dnf install libstatgrab
```

  证据: Fedora Rawhide package metadata: libstatgrab 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#libstatgrab
```

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

- pacman (92%):

```sh
sudo pacman -S libstatgrab
```

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

- zypper (92%):

```sh
sudo zypper install libstatgrab-devel
```

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

## 软件包事实

- **软件包键:** brew:libstatgrab
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libstatgrab>
- **版本:** 0.92.1
- **来源摘要:** Provides cross-platform access to statistics about the system
- **主页:** <https://libstatgrab.org/>
- **仓库:** <https://github.com/libstatgrab/libstatgrab>
- **上游文档:** <https://github.com/libstatgrab/libstatgrab#readme>
- **许可证:** GPL-2.0-or-later AND LGPL-2.1-or-later
- **源码归档:** <https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_0_92_1/libstatgrab-0.92.1.tar.gz>
- **最后更新:** 2026-06-27T17:57:02-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- saidar (cli)
- statgrab (cli)
- statgrab-make-mrtg-config (cli)
- statgrab-make-mrtg-index (cli)
- saidar (别名)
- statgrab (别名)
- statgrab-make-mrtg-config (别名)
- statgrab-make-mrtg-index (别名)

## 安装行为

- 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-07-08
- 管理器版本: 0.92.1
- 管理器更新时间: 2026-06-27
- 本地数据: OK
- 上游仓库: https://github.com/libstatgrab/libstatgrab
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

libstatgrab is a C library and tool set for cross-platform system statistics. It provides a portable interface for CPU, memory, disk, process, network, and I/O counters, with companion tools such as saidar and statgrab.

### 项目历史

The libstatgrab site describes the project as a cross-platform library for accessing system statistics and documents the included saidar and statgrab tools. GitHub release metadata preserves early release names back to libstatgrab 0.1 on February 19, 2003.

### 采用历史

The project has been packaged by Unix-like distributions because system-stat APIs vary by operating system. The official site lists tested support across FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX, and AIX.

### 使用方式

Developers use the C API when they want portable system counters, while script authors and operators can use statgrab's sysctl-style output or saidar's curses display. The package also includes MRTG configuration helpers.

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

libstatgrab is a modest but useful portability layer: the package is less famous than modern observability stacks, but it represents the classic Unix packaging problem of normalizing non-standard kernel statistics across many systems.

### 时间线

- 2003-02-19: Release metadata records libstatgrab 0.1.
- 2003-08-25: Release metadata records libstatgrab 0.5.
- 2021-07-27: The project site records libstatgrab 0.92.1 with API and ABI compatibility with 0.92.

### Related projects

- saidar and statgrab are bundled command-line tools.
- MRTG is referenced by the project as an output target for generated monitoring configuration.
- pystatgrab and other language bindings expose the same system-stat library to non-C callers.

### 来源

- <https://api.github.com/repos/libstatgrab/libstatgrab/releases?per_page=100>
- <https://github.com/libstatgrab/libstatgrab>
- <https://libstatgrab.org/>
- <https://libstatgrab.org/docs/statgrab.3.html>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libstatgrab
- **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 - libstatgrab-dev - 0.92.1-1.2: normalized package name match | Debian stable package indexes: libstatgrab-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files of library for system statistics | https://libstatgrab.org
- Debian apt - libstatgrab10t64 - 0.92.1-1.2: normalized package name match | Debian stable package indexes: libstatgrab10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library being useful interface to system statistics | https://libstatgrab.org
- Debian apt - saidar - 0.92.1-1.2: normalized package name match | Debian stable package indexes: saidar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | curses-based program which displays live system statistics | https://libstatgrab.org
- Debian apt - statgrab - 0.92.1-1.2: normalized package name match | Debian stable package indexes: statgrab from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sysctl-style access to system statistics | https://libstatgrab.org
- Nix - libstatgrab: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libstatgrab/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libstatgrab-dev - 0.92.1-1.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libstatgrab-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | development files of library for system statistics | https://libstatgrab.org
- Ubuntu apt - libstatgrab10t64 - 0.92.1-1.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libstatgrab10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library being useful interface to system statistics | https://libstatgrab.org
- Ubuntu apt - saidar - 0.92.1-1.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: saidar from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | curses-based program which displays live system statistics | https://libstatgrab.org
- Ubuntu apt - statgrab - 0.92.1-1.2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: statgrab from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sysctl-style access to system statistics | https://libstatgrab.org
- apk - libstatgrab - 0.92.1-r1: normalized package name match | Alpine Linux edge package indexes: libstatgrab from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross platform library for accessing system statistics | https://libstatgrab.org/
- apk - libstatgrab-dev - 0.92.1-r1: normalized package name match | Alpine Linux edge package indexes: libstatgrab-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross platform library for accessing system statistics (development files) | https://libstatgrab.org/
- apk - libstatgrab-doc - 0.92.1-r1: normalized package name match | Alpine Linux edge package indexes: libstatgrab-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross platform library for accessing system statistics (documentation) | https://libstatgrab.org/
- dnf - libstatgrab - 0.92.1-15.fc44: normalized package name match | Fedora Rawhide package metadata: libstatgrab from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A library that provides cross platform access to statistics of the system | http://www.i-scream.org/libstatgrab
- dnf - libstatgrab-devel - 0.92.1-15.fc44: normalized package name match | Fedora Rawhide package metadata: libstatgrab-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libstatgrab | http://www.i-scream.org/libstatgrab
- dnf - libstatgrab-examples - 0.92.1-15.fc44: normalized package name match | Fedora Rawhide package metadata: libstatgrab-examples from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The example files from libstatgrab | http://www.i-scream.org/libstatgrab
- dnf - libstatgrab-tools-compat - 0.92.1-15.fc44: normalized package name match | Fedora Rawhide package metadata: libstatgrab-tools-compat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Transition package for statgrab-tools | http://www.i-scream.org/libstatgrab


## 相关链接

- [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.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libsql](https://www.automicvault.com/zh-hans/pkg/brew/libsql/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libstxxl](https://www.automicvault.com/zh-hans/pkg/brew/libstxxl/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libsvm](https://www.automicvault.com/zh-hans/pkg/brew/libsvm/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtar](https://www.automicvault.com/zh-hans/pkg/brew/libtar/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtasn1](https://www.automicvault.com/zh-hans/pkg/brew/libtasn1/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtecla](https://www.automicvault.com/zh-hans/pkg/brew/libtecla/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtensorflow](https://www.automicvault.com/zh-hans/pkg/brew/libtensorflow/) - Shares av.db curated category or tags: cli, not-completed, other.
- [libtiff](https://www.automicvault.com/zh-hans/pkg/brew/libtiff/) - Shares av.db curated category or tags: cli, not-completed, other.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
