As part of creating or modifying a discovery pattern, use the Get process operation to search for a specific process to store in a tabular variable.

Before you begin

Role required: none

  • Navigate to the relevant pattern step:

    1. On the pattern form, select the relevant identification section for Discovery.

      Alternatively, select the relevant identification or connection section for Service Mapping.

    2. Select the relevant pattern step or click Add a step button to add a step.

Basic knowledge of programming is desirable.

Role required: pd_admin

About this task

You can manually specify the filtering criteria, or you can select a process from the list of all processes on the system. The values of the selected process are used to populate the filtering fields. Modify these criteria as needed (for example, to delete irrelevant criteria).

Processes that satisfy the specified filtering criteria are placed in a tabular variable whose name you specify. This tabular variable appears in the Temporary Variables table.

Procedure

  1. Select Get process from the Operation list.
  2. If in the debug mode, perform the following steps:
    1. Click Browse Process to open a form containing a list of processes.
    2. Select a process and click OK.
      Filtering criteria are populated with values from the selected process.
  3. If not working in the debug mode, define the field values as needed:
  4. In the Specify Target Variables field, specify the name for the tabular variable to hold the list of processes that satisfy the filtering criteria.
    You can also enter a value from the specific field in a tabular variable as described in Enter values and variables in patterns.
  5. If in Debug mode, test the step by clicking Test and checking that the operation brings the result you expected.

Example

Use the Get Process operation to get all Internet Information Services worker processes (w3wp.exe) running on the Windows Server and keep the results in the table variable iis_process.


Get Process operation

What to do next

cmdb-key-value
Discovery also collects cloud tags that are specific to each virtual machine (VM) and saves them to the Key Value [cmdb_key_value] table.