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

dumpsys Information

dumpsys is a tool running on Android devices. It provides information about system services. You can run the following command to obtain the diagnosis output of all system services of the container. In the command, ${index} indicates the ID of the started instance.

1
docker exec -it kbox_${index} 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_${index} dumpsys -l
    
  • To obtain the container memory information, run the following command:
    1
    docker exec -it kbox_${index} dumpsys meminfo
    

    The following figure shows the command output.