edit-icon download-icon

Process Monitoring

Last Updated: Jan 08, 2018

Process monitoring by default, allows you to collect information regarding CPU and memory usage and the number of files opened by the active processes over a period of time. If you include a process keyword, the number of processes containing that keyword are displayed.

View the consumption status of an active process

  • Every minute the agent singles out the top 5 processes with maximum CPU consumption that happens during the last minute. It displays information like CPU usage, memory usage and the number of opened files.

  • For the CPU and memory usage process, see the Linux top command. Here, CPU means a multi-core CPU.

  • For the number of files opened by an active process, see the Linux lsof command.

Note:

  • If the top 5 processes are changing over the time span specified for your query, the process list shows all the processes that are ranked in the top 5 list during the specified time period.

  • The time displayed in the bar chart indicates the processes that were ranked last among the top 5.

  • Information regarding the CPU and memory usage and the number of files the processes open is collected only for the top 5 processes. If a process is not ranked among the top 5 continually for a longer time specified for any query, its data points appear randomly in the monitoring charts. The density of the data points for the process shows its degree of activity on the server.

    • The following charts display the HTTP process, which is not ranked continuously among the top 5 processes with maximum server CPU consumption, the data points in the metric charts appear sparse and not continuous. The data points here indicate that the process has ranked amongst the top 5 at exactly the points of time for the data points.

    • The following charts display the mysql process. The data points in the metric charts are dense and appear to be consistent. This indicates that the process is ranked continuously among the top 5 with the maximum CPU consumption.

Manage the number of specified processes

You can get the number of key processes and the viability status, through the process count metric.

Add a specified process to the monitor

Note: While adding a process, you can provide its absolute path or even a keyword can serve the purpose. See the Linux ps aux|grep 'keyword' command.

For example, the server is currently running the following processes.

  • /usr/bin/java -Xmx2300m -Xms2300m

  • org.apache.catalina.startup.Bootstrap

  • /usr/bin/ruby

  • nginx -c /ect/nginx/nginx.conf

Assume that the user configures 6 keywords, following is the output shown respectively:

  • Keyword: ruby, number of processes returned: 1, hitting a process name.

  • Keyword: nginx, number of processes returned: 1, hitting a process name and a parameter.

  • Keyword: /usr/bin, number of processes returned: 2, hitting 2 paths (two processes under the paths respectively).

  • Keyword: apache.catalina, number of processes returned: 1, hitting part of a parameter.

  • Keyword: nginx.conf, number of processes returned: 1, hitting part of a parameter.

  • Keyword: -c, number of processes returned: 1, hitting part of a parameter.

Procedure

  1. Log on to CloudMonitor.

  2. Select Host Monitoring from the left-side navigation pane to go to the host monitoring page.

  3. Click the name of the instance you want to monitor. Or click Monitoring Chart from the Actions column to access the instance monitoring details page.

  4. Click Process Monitoring at the top of the page to access process monitoring page.

  5. To add the process you want to monitor, click Add Process button, and enter the Process Name in the search box.

Delete a monitored process

  1. Log on to CloudMonitor.

  2. Select Host Monitoring from the left-side navigation pane to go to the host monitoring page.

  3. Click the name of the instance you want to monitor. Or click Monitoring Chart from the Actions column to access the instance monitoring details page.

  4. Click Process Monitoring at the top of the page to access process monitoring page.

  5. When hovering over the process count monitoring chart, click Add Process to Monitor button to access the list of processes added to the page.

  6. If you want to delete any process, select the process and click Delete.

Thank you! We've received your feedback.