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.
The product enables you to configure acceptable process owners and filter a monitored process by process owners.
- 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
- Double-click the PROCESS application container.
- Access the PROCESS_PRESENCE application menu as described in Accessing KM Commands and InfoBoxes.
- Select Manage List of Monitored Processes from the pop-up menu.
- In the Manage List of Monitored Processes dialog box, in the Actions group box, select Add New Process, and click OK.
- 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.
In the Monitored Process String field, type the command or a unique command string for the process that is being monitored.
- 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.
- In the Acceptable Process Owners field, type the user IDs for the accounts that might own the process. Separate multiple user IDs with spaces.
Select the Use Process Owners for Filtering check box.
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.
Select the Filter Processes with Parent Process ID 1check box if you want to filter the processes by Parent Process ID 1.
- 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.
Using the PATROL KM for UNIX for Process Monitoring