DPMON is used to get the process overview of an instance in text mode.
DPMON is Dispatcher Monitor (DPMON.exe), which is located under /usr/sap/<SID>/sys/exe/run. DPMON check the status of the work processes or the dispatcher queue at operating system level.
This tool provided by SAP to use from operating system level functionality similar to work-process overview of SAP.
SAP GUI uses SM50 and SM66
We have to ask the help of this tools for following incidents.
- It is unable log in to SAP system through GUI
- when some work process administration cannot be done through GUI
HOW TO KILL Work Process
1. Log in to the System in OS level by adm user
# su – <SID>adm
2. Then use dpmon to workprocess administration
For group servers like production we need to specify the profile correctly for relevant application server.
then need to use the command as shown below :
First we need to log in to the relevant application server. Then can use the dpmon tool.
profiles are located on /usr/sap/<SID>/SYS/profile or /sapmnt/<SID>/profile.
Then the following screen will be displayed
3 – type m and go the the menu
4 Then the can use p or l to display the work-process. I will use p here…
5 . The the required work process should be selected and use k to kill the work process
Then it will ask which work-process to kill. then the required work process can be given.
Again it will ask you to confirm by pid I provided yes
The required work process will kill now.
[ The kill -9 also can be used after identify the pid ]
kill -9 13549