Page tree
Skip to end of metadata
Go to start of metadata

On UNIX systems, different users can run the same applications. Therefore, the process names can be the same for multiple processes that are owned by different users. The product can distinguish the processes owned by different users and reports the corresponding statistics accordingly. Because the process filtering for the processes is based on owners, the owner of the processes is always a subset of the provided owner set.

Example

Consider two processes of the same executable, a.out, running as two different users, root and user1. You can configure the process instances of this process to monitor the process count of either of the users, root or user1, or both.

The product enables you to configure acceptable process owners and filter a monitored process by process owners.

Note

  • This functionality is supported on all types of UNIX platforms.
  • This functionality works for root and NIS users. It does not work for local users, if you are monitoring a non-global process from a global zone.

To configure Process Owner Filtering

  1. Double-click the PROCESS application container.
  2. Access the PROCESS_PRESENCE application menu as described in Accessing KM Commands and InfoBoxes.
  3. Select Manage List of Monitored Processes from the pop-up menu.
  4. In the Manage List of Monitored Processes dialog box, in the Actions group box, select Add New Process, and click OK.
  5. In the Add New Process dialog box, in the Process Instance Label field, type a name for the monitored process icon. You can specify a name with a maximum of 100 characters.
  6. In the Monitored Process String field, type the command or a unique command string for the process that is being monitored.

    Note

    • BMC PATROL monitors all processes that match the string you type in this field. When you enter text in this field, you might end up monitoring multiple processes. For example, if you type vi in this field, BMC PATROL monitors processes named vi, view, and previous.
    • You must specify a single process if you want to use the BMC PATROL feature that allows you to restart a process automatically.
  7. In the Acceptable Process Owners field, type the user IDs for the accounts that might own the process. Separate multiple user IDs with spaces.
  8. Select the Use Process Owners for Filtering check box.

    Note

    Because process filtering for processes is based on owners, the owner of the processes is always a subset of the provided owner set. Therefore, the PROCPPOwnerCheck parameter is deactivated when the Use Process Owners for Filtering check box is selected.

  9. Select the Filter Processes with Parent Process ID 1check box if you want to filter the processes by Parent Process ID 1.

    Note

    • If you select the Filter Processes with Parent Process ID 1 check box, only the processes having parent process ID 1 are filtered.
    • If you do not select the Filter Processes with Parent Process ID 1 check box, the processes are filtered irrespective of their parent process ID.
    • If you select Yes for the Parent Process ID Must Be 1 field, and if you filter processes with parent process ID 1, the PROCPPParentPID1 parameter will be deactivated.
    • If you select No for the Parent Process ID Must Be 1 field, the processes are not filtered by parent process ID 1.

    The product starts monitoring processes based on the process owners.

Related topics

Using the PATROL KM for UNIX for Process Monitoring

 

  • No labels