Maison >Tutoriel système >Linux >En bas: un processus de processus et de système personnalisable en temps réel
inférieur (bientôt btm ) est un processus graphique multiplateforme hautement personnalisable Processus en temps réel et moniteur système conçu pour une utilisation dans le terminal. Il est inspiré par des outils comme GTOP, Gotop et HTOP. Le fond est une application OpenSource écrite dans Rust Langage de programmation.
Dans cet article de blog, nous discuterons de ses fonctionnalités, de son processus d'installation et de l'utilisation.
Tableau des matières
Les fonctionnalités du bas
Installer instruction en linux
Installez le bas à l'aide de la cargo
pour utiliser le gestionnaire de packages de cargo. L'indicateur - LOCKED
s'assure que l'installation utilise les versions de caisse verrouillées spécifiées dans le fichier cargo.lock. L'omission de ce drapeau peut entraîner des problèmes de dépendance.# Update to the stable version of Rust.rustup update stable# Install the binary from crates.io.cargo install bottom --locked# If you use another channel by default, you can specify# the channel to use like so:cargo +stable install bottom --locked# --locked may be omitted if you do not want to use the# locked crate versions in Cargo.lock. However, be# aware that this may cause problems with dependencies.cargo install bottom
Vous pouvez également installer le bas directement à partir du référentiel GitHub à l'aide de cargo install . Les sources répertorient trois options pour ce faire:
1. Téléchargez une archive et installez:
# Update to the stable version of Rust.rustup update stable# Install the binary from crates.io.cargo install bottom --locked# If you use another channel by default, you can specify# the channel to use like so:cargo +stable install bottom --locked# --locked may be omitted if you do not want to use the# locked crate versions in Cargo.lock. However, be# aware that this may cause problems with dependencies.cargo install bottom
2. Clone le référentiel et l'installation:
# Update to the stable version of Rust. rustup update stable # Download the archive curl -LO https://github.com/ClementTsang/bottom/archive/0.10.2.tar.gz # Extract the archive tar -xzvf 0.10.2.tar.gz # Install from the extracted directory cargo install --path . --locked
3. Installez avec le référentiel comme source:
# Update to the stable version of Rust.rustup update stable# Clone the repogit clone https://github.com/ClementTsang/bottom# Navigate to the repo directorycd bottom# Install from the repo directorycargo install --path . --locked
Vous pouvez également ajouter l'indicateur RustFlags = "- C Target-CPU = natif" à l'une de ces commandes pour les optimisations spécifiques au CPU:
# Update to the stable version of Rust.rustup update stablecargo install --git https://github.com/ClementTsang/bottom --locked
Rappelez-vous pour remplacer les numéros et les paramètres par les valeurs appropriées. Les gestionnaires
:Bottom is available as an official package and can be installed using the following command:
The latest development version is available as bottom-git from the AUR and can be installed with an AUR helper likeRUSTFLAGS="-C target-cpu=native" cargo install --path . --lockedparu
or yay :
sudo pacman -S bottomdebian / ubuntu
: un fichier .deb est fourni pour chaque version stable et la création nocturne pour différentes architectures (x86, AARCH64, et ARMV7).
Vous pouvez télécharger et installer le fichier. DEB approprié en utilisant les commandes suivantes (Remplacer la version. En conséquence):
# Using paru sudo paru -S bottom-git # Using yay sudo yay -S bottom-gitFedora / Centos / Almalinux / Rocky Linux
: Le fond est disponible via COPR. Enable the repository and install the package:
You can also download and install the .rpm file from the releases page (replace version number accordingly):# x86-64curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb sudo dpkg -i bottom_0.10.2-1_amd64.deb
sudo dnf copr enable atim/bottom -y sudo dnf install bottomGentoo
:Install Bottom from the official Gentoo repository using emerge:
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom-0.10.2-1.x86_64.rpm sudo rpm -i bottom-0.10.2-1.x86_64.rpmNixOS
:Install Bottom from the nix-community repository:
sudo emerge --ask sys-process/bottomSnap
:Install the Bottom snap package and connect the necessary Interfaces:
nix-env -i bottomsolus
: Installez en bas à l'aide du gestionnaire de package EOPKG:
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-controlvoid Linux
: Installez le bas à partir de la distribution de commandes:
Rappelez-vous pour ajuster la disposition des commandes:
sudo eopkg it bottom
and version.
Once installed, you can launch Bottom by typing btm in your terminal.
sudo xbps-install bottom
Main Interface:
When you runbtm, you'll see a main interface that displays CPU, memory, disk, and network utilisation.
La section supérieure montre l'utilisation du processeur, décomposée par les noyaux. La section centrale montre l'utilisation de la mémoire, y compris la RAM et le swap, la température et les informations sur le disque. Et la section inférieure montre des informations sur les E / S du réseau et traite les informations.
Conclusion
LECTURE CONNEXES :
Bonnes alternatives à TOP, le gestionnaire de tâches de la ligne de commande
Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!