The controller status command displays if the Controller is active or inactive.
This command has no parameters.
Syntax: controller status
Sample Output:
Controller@localhost> controller status
Redirecting to /bin/systemctl status controller.service
● controller.service - Controller service
Loaded: loaded (/etc/systemd/system/controller.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2023-01-25 12:21:24 UTC; 14s ago
Process: 3467 ExecStart=/opt/IPSManager/controller/etc/controller start (code=exited, status=0/SUCCESS)
Main PID: 3479 (sh)
CGroup: /system.slice/controller.service
├─3479 sh ./bin/controller.sh
└─3492 python src/main/controller.pyc
Jan 25 12:21:24 localhost systemd[1]: Starting Controller service...
Jan 25 12:21:24 localhost controller[3467]: Starting Controller..
Jan 25 12:21:24 localhost systemd[1]: Started Controller service.