Page History
...
The Process Count Check monitor can be used to ensure an application is always running but to configure the monitor you must first identify the process name associated with the application.
Identifying process names on Windows platforms
Finding the process name associated with an application is often as simple as locating the application in the Windows Task Manager.
...
- On the system that is running the application you want to monitor, open Services, which is accessed from the Administrative Tools Control Panel.
- Locate the service name (in the example below, it is Microsoft SQL Server Reporting Services).
- Right-click the service name, and then click Properties. Locate the service's executable name in the Path to executable box (in this case, it is ReportingServicesService).
- To verify that this service is running as a Windows process, open Task Manager, select the Processes tab, and then select the Show processes from all users check box. Confirm that the service executable is listed as a current process (in this case, ReportingServicesSerivce.exe is listed).
- Make note of this process name as it is used when you configure the Process Count Check monitor.
Identifying a UNIX process name
Finding a process on a UNIX system depends on the application you want to monitor. Some applications do not need to be started with their actual name, some may rename themselves while running and some can start multiple processes while running. For example, with Oracle Database on UNIX, a process may exist for every database instance, whereas on Windows, a single process contains as many threads as there are database instances.
...
ps
. The process statistics command reports a snapshot of all currently running processes. For example, usingps -ef
produces a full listing of every running process.pstree
. This command is similar tops
except processes are displayed in a tree view. Using this command can help you determine which process is associated with an application by easily identifying parent processes. You can also add an application username as an argument to only display process trees that belong to applications initiated by the supplied user name.pgrep
. This command expands ongrep
(which is used to find text in files based on a matching pattern) by finding processes based on attributes such as the executable's name. A regular expression that is supplied as an argument is matched against executable file names associated with running processes (e.g.pgrep payroll$
returns all processes with names ending with "payroll"). If you have an idea of which application you are looking for,pgrep
returns a relatively refined list of results and is an ideal method.
Configuring the UIM Process Count Check monitor
To create a service in UIM
...