Viewing the Service Status
Run the status command to view the overall health status of CTE-U. The command can be run with or without an argument.
No Arguments
If you run the status command with no arguments, the utility dumps a set of configurations and status information to the console.
For example:
sudo /usr/bin/cte_u_manager status
Response
OS_VERSION="Ubuntu 20.04.5 LTS"
KERNEL_VERSION="5.4.0-128-generic"
CTE_VERSION="10.0.0.41"
CTE_INSTALL_DATE="2022-11-18 17:04:27"
SYSTEM_STATUS="Sick"
SYSTEM_STATUS_NUM_ISSUES=1
The output is divided into two parts:
-
Versions of the OS and CTE-U. For example:
OS_VERSION="Ubuntu 20.04.5 LTS" KERNEL_VERSION="5.4.0-128-generic" CTE_VERSION="10.0.0.41" CTE_INSTALL_DATE="2022-11-18 17:04:27"
-
Quick status of the CTE-U software. If no issues are detected, the console output shows the system as Healthy and the reported issues as zero (
0
). For example:SYSTEM_STATUS="Healthy" SYSTEM_STATUS_NUM_ISSUES=0
If any issues are detected, the console output shows the system as Sick and the number of reported issues. For example:
SYSTEM_STATUS="Sick" SYSTEM_STATUS_NUM_ISSUES=2
One Argument
The argument is either:
-
Pathname of a GuardPoint
-
Pathname of a file in an encrypted directory
If you specify the name of a GuardPoint, it displays the status of only the GuardPoint:
$ sudo /usr/bin/cte_u_manager status /opt/test1
Response
FULL_PATHNAME="/opt/test1"
PROTECTED_DIRECTORY="/opt/test1"
PROTECTED_DIRECTORY_STATUS="Healthy"
If you specify the name of a file in a GuardPoint, it displays the status of the file:
$ sudo /usr/bin/cte_u_manager status /opt/test1/finances.txt
Response
FULL_PATHNAME="/opt/test1/finances.txt"
PROTECTED_DIRECTORY="/opt/test1"
PROTECTED_DIRECTORY_STATUS="Healthy"
RELATIVE_PATH="finances.txt"
RELATIVE_PATH_ENCRYPTED="true"