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

bin+lib systemctl-tui

A simple TUI for interacting with systemd services and their logs

21 releases

0.3.5 May 3, 2024
0.3.3 Feb 29, 2024
0.2.4 Dec 17, 2023
0.2.2 Oct 16, 2023

#136 in Unix APIs

Download history 8/week @ 2024-01-20 215/week @ 2024-02-24 58/week @ 2024-03-02 7/week @ 2024-03-09 1/week @ 2024-03-16 11/week @ 2024-03-30 192/week @ 2024-04-06 6/week @ 2024-04-13 379/week @ 2024-04-27 44/week @ 2024-05-04

434 downloads per month

MIT license

78KB
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
  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

~34–53MB
~693K SLoC