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

Resource Usage of Processes in a Container

  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 query the resource usage of each process in the container in real time. In the command, {kbox_id} indicates the container ID.
    # docker exec -it kbox_${kbox_id} top