命令行工具 活跃维护

bottom

ClementTsang/bottom

又一个跨平台图形化进程/系统监视器。

14091
Stars 标星
393
Forks 分支
53
Watchers 关注
104
Open Issues
Rust
主要语言
MIT
开源协议
88.7 MB
仓库大小
6 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ClementTsang/bottom
git clone https://github.com/ClementTsang/bottom.git
git clone git@github.com:ClementTsang/bottom.git
README.md main

英文原文正文为项目原始 README(英文),本站后续会翻译为中文,当前仅剔除图片与无关章节并统一排版。

底部 (btm)

一个可自定义的跨平台终端图形化进程/系统监控工具。
支持 Linux、macOS 和 Windows。灵感来源于 gtop、gotop 和 htop。

使用 Gruvbox 主题 (--theme gruvbox) 的演示,以及 IBM Plex Mono 和 Kitty

目录

功能

作为(又一个)进程/系统可视化和管理应用程序,bottom 支持典型功能:

更多详情请参阅文档。

支持

官方

bottom 官方 支持以下操作系统及对应架构:

  • macOS(x86_64,aarch64)
  • Linux(x86_64,i686,aarch64)
  • Windows(x86_64,i686)

这些平台大多数情况下已测试可用,如果可能,平台上的问题将会被修复。此外,二进制文件是使用当时最新稳定版 Rust 构建和测试的。

有关支持平台和已知问题的更多详细信息,请查看文档。

非官方

bottom 可能在一些未官方支持的平台上运行。请注意,不受支持的平台:

  • 可能未在 CI 中进行构建或测试通过的验证(有关已检查的平台,请见这里)。
  • 可能在稳定版本发布前未被维护者适当测试。
  • 可能仅获得有限支持,例如缺失功能或未修复的错误。

请注意,一些未支持的平台最终可能会被官方支持(例如 FreeBSD)。

一些当前非官方支持的平台(可能可编译/可用)的非详尽列表包括:

  • FreeBSD(x86_64)
  • Linux(armv6,armv7,powerpc64le,riscv64gc,loongarch64)
  • Android(arm64)
  • Windows(arm64)
  • NetBSD(x86_64)

有关不支持平台和已知问题的更多详细信息,请查看文档。

安装

货物

可以通过安装 bottom crate 来通过 cargo 安装:

# You might need to update the stable version of Rust first.
# Other versions might work, but this is not guaranteed.
rustup update stable

# Install the binary from crates.io.
cargo install bottom --locked

# If you use another channel by default, you can specify
# the what channel to use like so:
cargo +stable install bottom --locked

# --locked may be omitted if you wish to not use the
# locked crate versions in Cargo.lock. However, be
# aware that this may cause problems with dependencies.
cargo install bottom

或者,您可以使用 cargo install 并将仓库作为源来安装。

# You might need to update the stable version of Rust first.
# Other versions might work, but this is not guaranteed.
rustup update stable

# Option 1 - Download an archive from releases and install
curl -LO https://github.com/ClementTsang/bottom/archive/0.14.9.tar.gz
tar -xzvf 0.14.9.tar.gz
cargo install --path . --locked

# Option 2 - Manually clone the repo and install
git clone https://github.com/ClementTsang/bottom
cd bottom
cargo install --path . --locked

# Option 3 - Install using cargo with the repo as the source
cargo install --git https://github.com/ClementTsang/bottom --locked

# You can also pass in the target-cpu=native flag to try to
# use better CPU-specific optimizations. For example:
RUSTFLAGS="-C target-cpu=native" cargo install --path . --locked

阿尔卑斯

底部可作为 Alpine Linux 的一个软件包通过 apk 安装:

apk add bottom

用于文档的包 (bottom-doc) 以及用于 Bash (bottom-bash-completion)、Fish (bottom-fish-completion) 和 Zsh (bottom-zsh-completion) 的自动补全也可用。

Arch Linux

bottom 可作为一个 官方软件包 安装,可使用 pacman 安装:

sudo pacman -S bottom

如果你想要尚未稳定的最新更改,你也可以从 AUR 安装 bottom-git:

# Using paru
paru -S bottom-git

# Using yay
yay -S bottom-git

Debian / Ubuntu

在每个 稳定版本 和 每日构建 中都提供了适用于 x86、aarch64 和 armv7 的 .deb 文件。以下是通过这种方式安装的一些示例:

# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom_0.14.9-1_amd64.deb
sudo dpkg -i bottom_0.14.9-1_amd64.deb

# ARM64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom_0.14.9-1_arm64.deb
sudo dpkg -i bottom_0.14.9-1_arm64.deb

# ARM
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom_0.14.9-1_armhf.deb
sudo dpkg -i bottom_0.14.9-1_armhf.deb

# musl-based
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom-musl_0.14.9-1_amd64.deb
sudo dpkg -i bottom-musl_0.14.9-1_amd64.deb

Exherbo Linux

bottom 可以作为一个 rust 软件包 使用 cave 安装:

cave resolve -x repository/rust
cave resolve -x bottom

Fedora / CentOS / AlmaLinux / Rocky Linux

COPR

[!警告]

atim/bottom 似乎没有维护,并且可能已经过时(相关问题)

bottom 可以在 COPR 上获取:

sudo dnf copr enable atim/bottom -y
sudo dnf install bottom

特拉

底部也可以通过 Terra 获取:

sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release
sudo dnf install bottom

转速

.rpm 文件也会为 x86 生成,可在 发布 页面找到。例如:

curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom-0.14.9-1.x86_64.rpm
sudo dnf install ./bottom-0.14.9-1.x86_64.rpm

健图

可在官方 Gentoo 仓库中获取:

sudo emerge --ask sys-process/bottom

无

在 Nixpkgs 中可用,作为 bottom:

nix profile install nixpkgs#bottom

bottom 也可以通过 home-manager 模块安装和配置:

{
  programs.bottom.enable = true;
}

openSUSE

在 openSUSE Tumbleweed 中可用:

zypper in bottom

拍

底部可作为 snap 安装:

sudo snap install bottom

# To allow the program to run as intended
sudo snap connect bottom:mount-observe
sudo snap connect bottom:hardware-observe
sudo snap connect bottom:system-observe
sudo snap connect bottom:process-control

独身

可在 Solus 仓库 中获取:

sudo eopkg it bottom

作废

可在 void-packages 仓库 中获取:

sudo xbps-install bottom

自制软件

该配方可在此获取 here:

brew install bottom

MacPorts

可在 这里 获取:

sudo port selfupdate
sudo port install bottom

巧克力

巧克力包位于这里:

choco install bottom

勺子

可在 Main bucket 中获得:

scoop install bottom

winget

可以在 这里 找到 winget 包:

winget install bottom

# If you need a more specific app id:
winget install Clement.bottom

您可以通过控制面板、选项或 winget --uninstall bottom 卸载。

Windows 安装程序 (MSI)

您可以通过下载并使用 最新版本 的 .msi 文件手动将 bottom 安装为 Windows 程序。

眼镜蛇

您可以使用 conda 通过 此 conda-smithy 仓库 安装 bottom。

# Add the channel
conda config --add channels conda-forge
conda config --set channel_priority strict

# Install
conda install bottom

啊

底部也可以在 Linux 或 macOS 上使用 gah 安装:

gah install bottom

ghr

底部可以像这样使用 ghr 安装:

ghr install clementtsang/bottom

放置

底部可通过 mise 获取:

mise use -g bottom@latest

预构建二进制文件

你也可以使用预构建的发布二进制文件:

使用方法:下载并解压与你的系统匹配的二进制文件。然后你可以通过以下方式运行:

./btm

或者通过按照将二进制文件安装到系统的步骤进行安装。

自动补全

发布页面 的发布二进制文件包含用于 Bash、Zsh、fish、Powershell、Elvish、Fig 和 Nushell 的 shell 自动补全文件。安装方法如下:

  • 对于 Bash,将 btm.bash 移动到 $XDG_CONFIG_HOME/bash_completion or /etc/bash_completion.d/。
  • 对于 Zsh,将 _btm 移动到你的 $fpath 目录之一。
  • 对于 fish,将 btm.fish 移动到 $HOME/.config/fish/completions/。
  • 对于 PowerShell,将 _btm.ps1 添加到你的 PowerShell 配置文件。
  • 对于 Elvish,补全文件为 btm.elv。
  • 对于 Fig,补全文件为 btm.ts。
  • 对于 Nushell,使用 btm.nu。

如果需要,单独的自动补全文件也包含在稳定版/夜间版发布中,文件名为 completion.tar.gz。

使用

你可以使用 btm 来运行 bottom。

  • 关于选项的帮助,可以使用 btm -h 来快速查看,或者使用 btm --help 获取更多详细信息。
  • 关于键盘和鼠标绑定的信息,在 bottom 内按 ?,或者参考 文档页面。

你可以在 文档 中找到更多使用信息。

配置

bottom 接受多个命令行参数,以根据需要更改应用程序的行为。此外,bottom 会在首次启动时自动生成一个配置文件,该文件可以进行修改。

有关配置的更多详细信息,请参见文档。

故障排除

如果有些功能不起作用,请查看故障排除页面。如果问题仍然存在,可以考虑提问或如果你认为这是一个错误,提交错误报告。

文档

主要的文档页面可以在 https://bottom.pages.dev 找到,使用的是 Cloudflare Pages。如果需要,也可以访问使用 Github Pages 托管的镜像页面,网址为 https://clementtsang.github.io/bottom。

贡献

无论是报告漏洞、建议功能、维护软件包还是提交拉取请求,贡献总是受到欢迎的!请阅读 CONTRIBUTING.md 了解如何为 bottom 做出贡献的详细信息。

致谢

  • 这个项目很大程度上受到了 gotop、gtop 和 htop 的启发。

  • 这个应用程序使用了 许多、许多 库,以及许多服务和程序,所有这些都基于许多才华横溢的人的工作构建而成。没有这些贡献,bottom 不可能存在。

  • 当然,再次感谢所有的贡献者和软件包维护者!

  • 我也非常感谢使用 bottom 的每一个人,以及那些不辞辛劳报告错误或提出改进建议的人。我希望它对其他人来说是一个有用的工具。

  • 对于通过捐款支持我工作的朋友,非常感谢你们。

  • 感谢 JetBrains 提供我用于开发 bottom 的工具,这些工具是他们 开源支持计划 的一部分。

  • 也感谢 SignPath.io 提供免费的代码签名服务,以及 SignPath Foundation 提供证书。

本站来源与版权声明
  • 本文标题:bottom - 又一个跨平台图形化进程/系统监视器
  • 本文链接:https://cn121.com/cli/clementtsang-bottom.html
  • 原项目:ClementTsang/bottom 版权归原作者 ClementTsang 及贡献者所有
  • 收录信息:本站于 2026-10-10 收录本项目,本页所列协议与仓库指标均为收录当时的状态;该日期之后原项目的版本更新与协议变更,本页不作同步。
  • 开源协议:收录时本项目采用 MIT(查看 LICENSE 原文),本站转载其原始文档(未改动文字,仅剔除图片与无关章节);使用、修改、分发请以该仓库 LICENSE 原文为准。
  • 站点出处:本文首发于 OneTwoOne,收录自 GitHub 开源项目 ClementTsang/bottom。
  • 内容说明:本页正文为原项目 README 原文(英文),本站后续会翻译为中文(当前尚未译出,仅将二级标题译为中文,便于按栏目定位;标题原文可在下方原仓库中查看),仅剔除了图片与赞助等无关章节、并把相对链接改为绝对地址;页首简介为机器翻译自仓库描述。
  • 引用声明:商业转载、第三方聚合或 AI 检索训练引用时,请务必保留以上来源出处、本文永久链接,以及原项目的版权声明与许可信息。
  • 下架通道:若原项目此后变更或收紧了许可协议、或作者/权利人认为本站的收录方式(译文、排版适配、简介翻译等)超出其授权范围,请通过 xyd3302001@163.com 发送下架通知,并附上项目地址与本页链接。本站核实后将第一时间删除本页内容,或改为不复制原文的目录性收录;署名更正等其他要求可一并提出。