Chkservice is a terminal user interface (TUI; not to be confused with the GUI, which stands for Graphical User Interface) for managing systemd units, and has recently been updated through window resizing and search support.chkservice Is a simple systematic Cell manager using ncurses for its terminal interface. Use it to enable or disable, and start or stop the systemd unit. It also shows the unit status (enabled, disabled, static or masked).
You can use the keyboard shortcuts to browse the chkservice user interface:
lMove cursor up
jMove cursor down
bMove page up
To enable or disable the device, press
SpaceAnd press start or stop unity
s. You can access the help screen showing all available keys by pressing the following buttons
The command line tool was first released in August 2017. The new version was not released until the 0.2 release a few days ago, and then the 0.3 release was quickly released. Chkservice added a search function in the latest 0.3 release, which can easily search all systemd units. To search, type
/ Then your search query and press
Enter. To search for the next item that matches your search query, you must enter
/ Again, second
Ctrl + m (Do not enter any search text).
Another new feature of the latest chkservice is window resizing support. In version 0.1, the tool will close when a user tries to resize a terminal window. This is no longer the case, chkservice allows resizing of the terminal window running it.
Finally, the last addition to the latest chkservice 0.3 is
G-g Navigation support. Press
Shift + g) Navigate to the bottom, then
g Navigate to the top.
Download and install chkservice
Initial (0.1) chkservice version Can be found In the official repositories of some Linux distributions, including Debian and Ubuntu (and Linux distributions based on Debian or Ubuntu-such as Linux Mint, Pop! _OS, Elementary OS, etc.).
There are also some third-party repositories available, including Fedora Copr, Ubuntu / Linux Mint PPA, and Arch Linux AUR, but as of this writing, only AUR package Updated to the latest chkservice version 0.3.
You can also install chkservice from the source code. Provided in the instructions for using the tool Readme Create a DEB package or install it directly.
It is important to note that if you plan to make changes to the systemd unit state (enable / disable or start / stop), you should run chkservice with superuser privileges.