我要评分
获取效率
正确性
完整性
易理解

dumpsys Information

  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 switch to the root user:
    su - root
  3. Run the following command to query the container ID:
    docker ps -a
  4. Run the following command to obtain the diagnosis output of all system services in the container. In the command, ${kbox_id} indicates the ID of the started instance.
    dumpsys is a tool running on Android devices and provides information about system services.
    1
    docker exec -it kbox_${kbox_id} dumpsys
    

    After the preceding command is run, a large amount of data is displayed. Generally, you need to specify the services to be checked in the command.

    • To obtain the complete list of system services supported by dumpsys, run the following command:
      1
      docker exec -it kbox_${kbox_id} dumpsys -l
      
    • To obtain the container memory information, run the following command:
      1
      docker exec -it kbox_${kbox_id} dumpsys meminfo
      

      The following figure shows the command output.