OpenBSD: rcctl-stat – a tiny script to show the state of all services in one-go

Written by: Özgür Konstantin Kazanççı -

Category: My OpenBSD Write-Ups

rcctl-stat is a tiny, cute script by Dante Catalfamo, bringing OpenBSD users the ability to show the state(s) of all services, in one-go. I prefer the coloured version.

root@~ > wget -O rcctl-stat.sh https://raw.githubusercontent.com/dantecatalfamo/rcctl-stat/color/rcctl-stat

root@~ > chmod +x rcctl-stat.sh
root@~ > ./rcctl-stat.sh

rcctl-stat

[ ] service means the service is not enabled and not running
[<span style="color: #ffcc00;"><strong>-</strong></span>] service means the service is enabled but not running
[<span style="color: #339966;"><strong>+</strong></span>] service means the service is enabled and running
[<strong><span style="color: #ff0000;">D</span></strong>] service means the service is enabled but has failed (degraded/down)
[<span style="color: #00ccff;"><strong>F</strong></span>] service means the service is not enabled and running (forced)


Leave a Reply