diff --git a/pages/linux/systemctl-is-active.md b/pages/linux/systemctl-is-active.md new file mode 100644 index 0000000000..d9b19978fd --- /dev/null +++ b/pages/linux/systemctl-is-active.md @@ -0,0 +1,20 @@ +# systemctl is-active + +> Check if one or more systemd units are active. +> More information: . + +- Check whether a unit is active: + +`systemctl is-active {{unit}}` + +- Check whether multiple units are active: + +`systemctl is-active {{unit1 unit2 ...}}` + +- Check whether a unit is active without printing the state to `stdout`: + +`systemctl is-active {{[-q|--quiet]}} {{unit}}` + +- Check whether a user unit is active: + +`systemctl is-active --user {{unit}}`