Usage of Dpmon Tool
It is an attempt to understand what is dpmon and its use.
DPMON is a tool provided by SAP to use from the operating system. This is similar to work process overview like SM50 or SM66.
This tool is of great help when for some reason we are not able to login through SAP GUI. We can identify the issue by logging into the operating system and use dpmon.
(On a redhat linux operating system)
Login to the central instance host of the SAP system using <sidadm> user id.
Go to the profiles directory using
cd /usr/sap/<SID>/SYS/profile (or)
cd /sapmnt/<SID>/profile (or)
cdpro
use dpmon pf=<profilename>
Will get a display “Dispatcher Queue Statistics” . We can see if any dispatcher waits are there.
press m
dispatch monitor menu is listed. type l view the work process overview.
If all the work processes are full take the PID of the work process having problem and kill using the OS level command Kill -9 <PID>..
After this we can login to the system through SAPGUI.
Hi Arun,
It should be use dpmon pf=<profilename> and not dpmpn pf=<profilename>.
Regards,
Abhishek
thanks abhisheik eited the typo.
Hi everybody,
also it is possible to kill (or just stop) the process via dpmon tool. As you can see on Arun's last screen, just use k, then specify the process by its number (not PID) and confirm. I think that killing the process using kill -9 is to "hard" (but sometimes there is no other way for hanging processes).
Hi Arun,
is it mandatory to use dpmon pf=<profilename> or can we simply type dpmon by navigating to profile path..
thanks in advance
Regards,
Pavan
Hello,
If I understood your question well, then yes, you have to specify profile name by using pf=<profilename> parameter to start dpmon.
Kind regards
🙂 Thanks for your response Kamil
Hi Pavan,
Â
Basically dpmon would need the SAPSYSTEMNAME to invoke the dp-monitor, which is why you pass the instance profile in the command line, in which there is a definition of SAPSYSTEMNAME parameter.
Having said that, its also possible to define the parameter in the env of your sidadm user, so no separate mention of it is required, and you can straight up invoke the tool using dpmon command.
Â
Regards,
Kartik