#tui #systemd #service #logs #linux #status #browse

bin+lib systemctl-tui

A simple TUI for interacting with systemd services and their logs

24 releases

0.3.8 Sep 14, 2024
0.3.6 May 25, 2024
0.3.3 Feb 29, 2024
0.2.4 Dec 17, 2023
0.2.2 Oct 16, 2023

#290 in Unix APIs

37 downloads per month

MIT license

81KB
2K SLoC

systemctl-tui

Crates.io

A fast, simple TUI for interacting with systemd services and their logs. image

systemctl-tui can quickly browse service status and logs, and start/stop/restart services. It aims to do a small number of things well.

Install

Note: this project only works on Linux (WSL works if you have systemd enabled). Binaries are published for x64 and ARM64 in the GitHub releases, and distro packages are available.

If you'd rather build from scratch you will need Rust installed. Then either:

  1. Run cargo install systemctl-tui --locked
  2. Clone the repo and run cargo build --release to get a release binary at target/release/systemctl-tui

Distro Packages

Packaging status

Packaging status

Arch Linux

systemctl-tui can be installed from the official repositories:

pacman -S systemctl-tui

Nix

A Nix package is available and can be installed as follows:

nix-shell -p systemctl-tui

Optional:

  1. Alias systemctl-tui to st for quick access
  2. Create a symlink so systemctl-tui can be used with sudo:
sudo ln -s ~/.cargo/bin/systemctl-tui /usr/bin/systemctl-tui

Help

image

Credits

Dependencies

~35–51MB
~699K SLoC