All Products
Search
Document Center

Log tool for monitoring CPU and memory

Last Updated: Sep 22, 2020

Overview

This topic describes how to use log service to monitor CPU usage and memory usage.

 

Description

The following are the log tools for monitoring CPU and memory in Linux and Windows respectively.

 

Linux tools

  1. Download the following tool.
  2. Download the file, decompress it, and upload it/TmpDirectory.
  3. Run the following command to access the specified directory:
    cd /tmp
  4. Run the following command to run the script in the background.
    Nohup bash get_cpu_mem_info.sh &
  5. The tool/TmpA log file is generated under the Directory to record the CPU and memory usage of the system in real time and be used to analyze logs when a system exception occurs.

 

Windows tools

  1. Download the following tool.
  2. Download the file, decompress it, and upload itC :\Directory.
  3. After opening and running the file, do not close it. You can minimize it.
  4. The toolC :\A log file is generated under the Directory to record the system performance status in real time and be used to analyze logs when a system exception occurs.

 

Application scope

  • ECS