安装 Bashtop - Linux 终端资源监视器 | macOS |自由BSD |安装 Bashtop - Linux 终端资源监视器 | macOS |自由BSD |安装 Bashtop - Linux 终端资源监视器 | macOS |自由BSD |安装 Bashtop - Linux 终端资源监视器 | macOS |自由BSD |
  • 业务
  • 目标
  • 支持
  • 登录
找到的结果: {phrase} (显示: {results_count} 共: {results_count_total})
显示: {results_count} 共: {results_count_total}

加载更多搜索结果...

搜索范围
模糊匹配
搜索标题
搜索内容

安装 Bashtop - Linux 终端资源监视器 | macOS |自由BSD |

发表 admin at 2025年2月28日
类别
  • 未分类
标签

Bashtop 是一个免费开源的基于终端的资源监视器,适用于 Linux、macOS 和 BSD 系统。该工具可以显示处理器、内存、磁盘、网络和进程的使用情况和统计信息。 Bashtop 是用 Bash 编写的,带有 TUI 界面,用于监控 Linux、macOS 或 FreeBSD 系统上的资源使用情况。

Bashtop系统资源监视器的特点

以下是项目 Github 页面中捕获的 Bashtop 资源监视器的功能:

  • 易于使用,具有游戏风格的菜单系统。
  • 快速且“大部分”响应式用户界面,带有向上、向下键处理选择。
  • 显示所选进程的详细统计信息的功能。
  • 过滤进程的能力。
  • 在排序选项之间轻松切换。
  • 向选定的进程发送 SIGTERM、SIGKILL、SIGINT。
  • 用于更改所有配置文件选项的 UI 菜单。
  • 网络使用情况的自动缩放图。
  • 如果有新版本可用,则在菜单中显示消息
  • 显示磁盘当前的读写速度
  • 多种数据采集方式,Linux下可切换

Bashtop 所需的唯一依赖项是:

  • Bash(v4.4 或更高版本
  • GNU coreutils
  • GNU sed
  • grep、awk、ps

在 Ubuntu 上安装 Bashtop 资源监视器

您可以使用 PPA 存储库进行 Ubuntu Linux 安装:

sudo add-apt-repository ppa:bashtop-monitor/bashtop
sudo apt update
sudo apt install bashtop

在 Debian 上安装 Bashtop 资源监视器

对于 Debian 及其基础发行版,使用以下命令:

sudo apt update
sudo apt install git
git clone https://github.com/aristocratos/bashtop.git
cd bashtop/
cd DEB
sudo ./build

对于卸载,请使用以下命令:

 sudo ./build --remove

在 Fedora 上安装 Bashtop 资源监视器

对于 Fedora Linux,Bashtop 软件包可在上游存储库中找到:

sudo dnf install bashtop

在 CentOS/RHEL 上安装 Bashtop 资源监视器

在 CentOS 8 上,启用 EPEL 和 PowerTools 存储库:

sudo dnf install -y epel-release
sudo dnf config-manager --set-enabled PowerTools
sudo dnf install bashtop

如果运行 RHEL 8 Linux,您需要 codeready 存储库:

ARCH=$( /bin/arch )
sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
sudo dnf install epel-release
sudo dnf install bashtop

在 CentOS 7 上安装 Bashtop

Bashtop 需要 bash 4.4 或更高版本。 CentOS 7中可用的版本是4.2,升级bash:

在 CentOS 7 上安装 Bash 5

然后在 CentOS 7 上安装 Bashtop:

sudo yum -y install git
git clone https://github.com/aristocratos/bashtop.git
cd bashtop
sudo make install
sudo yum -y install git
git clone https://github.com/aristocratos/bashtop.git
cd bashtop
sudo make install

在 Linux 上使用 Bashtop | macOS | BSD

首次启动后,安装程序将自动生成配置文件并存储在“$HOME/.config/bashtop”文件夹中。

$ bashtop

检查文件夹以确认添加的新文件:

$ ls $HOME/.config/bashtop
bashtop.cfg  error.log  themes

您可以根据自己的喜好编辑主配置文件:

$ vim HOME/.config/bashtop/bashtop.cfg

请参阅下面我的启动屏幕截图:

类似指南:

适用于 Linux 的最佳终端模拟器

从 Linux 终端复制并粘贴文本内容

Linux 终端文件管理器

©2015-2025 Norria support@norria.com