Container CPU and Memory Usage
- 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 access the Docker container and check the CPU and memory usage. In the command, {kbox_id} indicates the ID of the started instance.
# docker exec -it kbox_${kbox_id} sh - Run the following command to query the CPU and memory usage of the processes in the Docker container. See the following figure.
# top

If the memory usage of some processes keeps increasing and the CPU usage remains higher than 80%, check whether the processes are abnormal or contact Huawei technical support. For details about the parameters in the command output, see 3.
To view the real-time information about the CPU load, memory usage, and swap space, run the following command:# ctop

The ctop command is run on the host. The parameters in the ctop command output are described as follows:- OWNER: process owner
- TYPE: process type
- PROC: process priority
- MEMORY: memory
- SYST: CPU usage of the system kernel space
- USER: CPU usage of user processes
- BLKIO: I/O resources
- TIME+: total CPU time of the process in centiseconds
- CGROUP: group name of the process owner
Parent topic: Performance Monitoring