Rate This Document
Findability
Accuracy
Completeness
Readability

dumpsys Information

  1. Use an SSH tool such as Xshell to log in to the server where the video stream cloud phone is deployed as the cloud phone O&M user (for example, root).
  2. Switch to the root user.
    1
    su - root
    
  3. Run the following command to query the container ID:
    1
    docker ps -a
    
  4. Run the following command to obtain the diagnosis output of all system services in the container. In the command, ${android_id} indicates the ID of the started instance.
    dumpsys is a tool running on Android devices that provides information about system services.
    1
    docker exec -it android_${android_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 android_${android_id} dumpsys -l
      
    • To obtain the container memory information, run the following command:
      1
      docker exec -it android_${android_id} dumpsys meminfo
      

      The following figure shows the command output.