Rate This Document
Findability
Accuracy
Completeness
Readability

Engine Service Status

During the running of the instruction stream cloud phone container, you can check whether the container is normal by checking the process status.

  1. Use a remote terminal to log in to the server where the instruction stream cloud phone is deployed as the instruction stream cloud phone O&M user (for example, root).
  2. Run the following command to access the instruction stream cloud phone container. {kbox_id} indicates the ID of the instance to be started.
    docker exec -it kbox_${kbox_id} sh
  3. Run the following command to check the process status:
    • Check the VmiAgent process. If the VmiAgent process is not found, the VmiAgent process has been stopped and the instruction stream cloud phone cannot be used. Restart the instruction stream cloud phone container or contact Huawei technical support.
      ps -elf

    • Check the VmiAgent process. If the VmiAgent process is found, check its process ID. Run the following command to check the process status, CPU usage, and memory usage. In the command, {pid} indicates the VmiAgent process ID. The command output is shown in the following figure.
      top -p ${pid}

      If the CPU usage of the VmiAgent process exceeds 80% for a long period of time and the memory usage is stable and does not increase continuously, the engine is normal. Otherwise, check whether the process is abnormal or contact Huawei technical support.

      Parameters in the command output are as follows:

      • PID: process ID
      • USER: creator of the process
      • PR: priority of the process
      • NI: nice value. A smaller value indicates a higher priority. The value ranges from -20 to 20, but the maximum user-defined value is 19.
      • VIRT: total virtual memory used by the process, in GB
      • RES: non-swapped-out size of the physical memory used by the process, in MB
      • SHR: size of the shared memory, in MB
      • S: process state. The value can be D (unstoppable sleep state), R (running state), S (sleep state), T (tracking/stopping state), and Z (zombie state).
      • [%CPU]: CPU usage of the process
      • %MEM: memory usage of the process
      • TIME+: running time of the process
      • COMMAND: process name
      • You are advised to query the CPU usage for multiple times. The result of a single query cannot be used as a reference.