Updated on 2026-06-18 GMT+08:00

Adding Processes for Monitoring

You can monitor the number of processes on a server or collect the number of key processes to check whether the key processes are running properly.

Suppose that the following processes are running on a server:

/usr/bin/java
/usr/bin/ntpd
/telescope
/usr/bin/python
Three keywords are configured. The following table lists the collection results.

Keyword

Collected Processes

Result

java

1

A process name is hit.

telescope

1

A process name is hit.

usr

3

Three process paths are hit.

You do not need to configure the number of processes. After you set the process keyword, the system will update the number of matched processes.

Prerequisites

  • You have installed the Cloud Eye Agent on a server. For details, see Installing the Agent.
  • You have obtained the names of the processes to monitor. To obtain a process name, perform the following operations:
    • Linux
      1. Log in to the server as user root and view the processes running on the server.
        ps -ef
      2. In the command output, obtain the ID of the target process in the CMD column.
    • Windows
      1. Log in to the server as an administrator and open the task manager.
      2. In the task manager, click Details to view the processes running on the server.

Constraints

There is no limit on the number of processes to be added, but the Agent collects metrics from only the first 16 processes.

Configuring Monitoring for Specific Processes

  1. Log in to the Cloud Eye console.
  2. Perform the following operations based on your resources:
    • To check the process monitoring of an ECS, choose Server Monitoring > Elastic Cloud Server.
    • To check the process monitoring of a BMS, choose Server Monitoring > Bare Metal Server.
  3. Locate the target server and click View Metric.
  4. Click the Process Monitoring tab.
  5. Click Add Process under Custom Process Monitoring.
  6. On the Add Process page, the cloud product and monitoring scope use the default settings of the current resource and can be changed. Configure the task name and process name for process monitoring.
    Figure 1 Adding processes for monitoring
    Table 1 Adding processes for monitoring

    Parameter

    Description

    Example Value

    Task

    Name of a process monitoring task. The value can only contain letters, digits, slashes (/), parentheses, number signs (#), underscores (_), asterisks (*) at the beginning, and hyphens (-). The value cannot start with hyphen (-). The task name can contain up to 255 characters.

    Once the task is created, its name cannot be changed.

    Process_Monitoring

    Description

    (Optional) Description of the process monitoring task.

    -

    Resource Type

    Cloud service that requires process monitoring. You can select Elastic Cloud Server or Bare Metal Server.

    Once the task is created, the cloud product cannot be modified.

    Elastic Cloud Server

    Monitoring Scope

    Resources that require process monitoring.

    -

    Monitored Processes

    Name of the monitored processes. The value can only contain letters, digits, slashes (/), parentheses, number signs (#), underscores (_), asterisks (*) at the beginning, and hyphens (-). The value cannot start with hyphen (-). It can contain up to 255 characters.

    java

  7. Click OK.

    After the configuration is complete, you can view the number of processes matched in the Custom Process Monitoring area.

Batch Adding Processes for Monitoring

  1. Log in to the Cloud Eye console.
  2. Choose Server Monitoring > Process Monitoring.
  3. On the Process Monitoring page, click Add Process.
  4. Configure a task name, select a resource type, select specified resources, and configure the process names. For details about the parameters, see Table 2.
    Figure 2 Adding processes for monitoring
    Table 2 Adding processes for monitoring

    Parameter

    Description

    Example Value

    Task

    Name of a process monitoring task. The value can only contain letters, digits, slashes (/), parentheses, number signs (#), underscores (_), asterisks (*) at the beginning, and hyphens (-). The value cannot start with hyphen (-). The task name can contain up to 255 characters.

    Once the task is created, its name cannot be changed.

    Process_Monitoring

    Description

    (Optional) Description of the process monitoring task.

    -

    Resource Type

    Cloud service that requires process monitoring. You can select Elastic Cloud Server or Bare Metal Server.

    Once the task is created, the cloud product cannot be modified.

    Elastic Cloud Server

    Monitoring Scope

    Resources that require process monitoring.

    -

    Monitored Processes

    Name of the monitored processes. The value can only contain letters, digits, slashes (/), parentheses, number signs (#), underscores (_), asterisks (*) at the beginning, and hyphens (-). The value cannot start with hyphen (-). It can contain up to 255 characters.

    java

  5. Click OK.