Rate This Document
Findability
Accuracy
Completeness
Readability

Host CPU and Memory Usage

  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 CPU and memory usage of the processes in the host container. See the following figure.
    1
    top
    

    If the memory usage of some processes is higher than 85% and the CPU usage remains higher than 90%, check whether the processes are abnormal or contact Huawei technical support.

    Parameters in the command output are as follows:

    • PID: process ID
    • USER: creator of the process
    • PR: process priority
    • NI: nice value. A smaller value indicates a higher priority. The value ranges from -20 to 20, but the maximum user-defined value is 19.
    • VIRT: total virtual memory used by the process, in KB
    • RES: non-swapped-out size of the physical memory used by the process, in KB
    • SHR: size of the shared memory, in KB
    • S: process state. The value can be D (unstoppable sleep state), R (running state), S (sleep state), T (tracking/stopping state), and Z (zombie state).
    • %CPU: CPU usage of the process
    • %MEM: memory usage of the process
    • TIME+: running time of the process
    • COMMAND: process name
    • You are advised to query the CPU usage for multiple times. The result of a single query cannot be used as a reference.

    If you want to monitor the processes running in the system and the complete commands, you can install and use the htop tool. After the installation is complete, run the following command:

    1
    htop
    

    If the memory usage is higher than 85% and the CPU usage remains higher than 90%, contact Huawei technical support.

    Parameters in the htop command output are described as follows:

    The left part (in red box) displays the CPU usage, memory usage, and swap partition usage from top to bottom.

    In the right part (yellow box), Tasks indicates the number of processes and the number of running processes, Load average indicates the average system load in 1 minute, 5 minutes, and 10 minutes, and Uptime indicates the system running duration.

    Other parameters are similar to those of the top command.