Specifying Search Criteria

Home  Previous  Next

The Process Monitor also allows you to enter search criteria to identify the process to be monitored:

1.In the PATROL Console, right-click the Host icon and select KM Commands > New > Monitor...
2.Select Process from the drop-down list and click Next.
3.Check Enter the criteria to select processes and click Next. The following dialog box is displayed:

Monitoring_Process_7

Entering Search Criteria - Enter criteria to identify and monitor processes

4.Specify your search criteria:
(Optional) In the Process name section, select a condition option and enter the name of the process you wish to monitor.
(Optional) In the Command line that launched the process section, select a condition option and enter a regular expression. Only processes that have been launched by a command-line matching this regular expression will be monitored.
(Optional) In the field Process runs as this user, enter the user name the monitored process is running as.
Click Next.

NoteAll fields are optional but at least one field must be completed. The process to monitor must match all the criteria if more than one is specified.

Examples:

Criteria

Processes that match the criteria

Example 1

Process name MUST BE EXACTLY patrolagent.exe
Command-line = <nothing>
User = <nothing>

PatrolAgent.Exe

C:\Patrol\PatrolAgent.exe -p 3181

C:\Patrol\PatrolAgent.exe

Example 2

Process name MUST BE EXACTLY patrolagent.exe
Command-line MUST MATCH THE REGULAR EXPRESSION -[pP] 3181
User = <nothing>

C:\Patrol\PatrolAgent.exe -p 3181

Example 3


Process name MUST CONTAIN Pat
Command-line = <nothing>
User = <nothing>

PatrolAgent.exe

PatProcess.exe

PatrolPerf.exe

NoteTo monitor all processes of a selected user, fill out the "User" field and leave "Process name" and "Command-line" empty.

WarningSearch criteria are case-sensitive on UNIX and Linux.

5.Select the parameters to be monitored for this process and click Next.
6.Configure the Monitor settings
7.Click Finish.