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 Tue 2020-10-20 05:46:19 UTC; 14s ago
Process: 655 ExecStart=/opt/NetworkSecurityManager/controller/etc/controller start (code=exited, status=0/SUCCESS)
Main PID: 661 (sh)
CGroup: /system.slice/controller.service
├─661 sh ./bin/controller.sh
└─664 python src/main/controller.pyc
Oct 20 05:46:19 localhost systemd[1]: Starting Controller service...
Oct 20 05:46:19 localhost controller[655]: Starting Controller..
Oct 20 05:46:19 localhost systemd[1]: Started Controller service.