# 使用 Homebrew, apt 安装 tcpstat

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

## 安装

```sh
sudo av install brew:tcpstat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tcpstat
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tcpstat
```

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

## 软件包事实

- **软件包键:** brew:tcpstat
- **软件包管理器:** Homebrew
- **版本:** 0.1
- **来源摘要:** Active TCP connections monitoring tool
- **主页:** <https://github.com/jtt/tcpstat>
- **仓库:** <https://github.com/jtt/tcpstat>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tcpstat (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tcpstat is a small terminal monitor for active TCP connections. The official README describes it as a cross between top and netstat, implemented in C with an ncurses user interface.

### 项目历史

The public repository dates to 2008, and a 0.1 tag was recorded in 2013. The README presents tcpstat as usable but still under development, with incomplete help and manpage polish, and documents support for Linux, OpenBSD, and OS X with some platform-specific limitations.

### 采用历史

The supplied package metadata shows tcpstat packaged for Homebrew, Debian, and Ubuntu. That is modest adoption, but enough to place it among small Unix observability tools installed when netstat output is too static and top is too process-oriented.

### 使用方式

The tool is used interactively to watch active TCP connections in a curses UI. The README points users to --help for command-line parameters and documents builds with make or gmake.

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

tcpstat fills a narrow gap between classic netstat and full monitoring stacks: a lightweight ncurses connection viewer that can be installed quickly from a package manager.

### 时间线

- 2008: The public tcpstat repository was created.
- 2013: The rel-0-1 tag marked version 0.1.
- Package metadata: Homebrew, Debian, and Ubuntu distribute tcpstat.

### Related projects

- The README explicitly positions tcpstat between top and netstat; ncurses provides its terminal UI.

### 来源

- <https://github.com/jtt/tcpstat/blob/master/README>
- <https://github.com/jtt/tcpstat/tags>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - tcpstat - 1.5-8.2: normalized package name match | Debian stable package indexes: tcpstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | network interface statistics reporting tool | http://www.frenchfries.net/paul/tcpstat/
- Ubuntu apt - tcpstat - 1.5-8.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tcpstat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | network interface statistics reporting tool | http://www.frenchfries.net/paul/tcpstat/


## Combined YAML source

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