Resource Usage of Processes in a Container
- 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).
- Run the following command to switch to the root user:
su - root
- Run the following command to query the container ID:
docker ps -a
- 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
Parent topic: Querying Docker Container Logs