Skip to Content
Author's profile photo Former Member

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

/wp-content/uploads/2013/09/dpmon_cdpro_287965.png

use dpmon pf=<profilename>

/wp-content/uploads/2013/09/dpmo_profile_287984.png

Will get a display “Dispatcher Queue Statistics” . We can see if any dispatcher waits are there.

press m

/wp-content/uploads/2013/09/dpmo_profile1_287985.png

dispatch monitor menu is listed. type l view the work process overview.

/wp-content/uploads/2013/09/dpmo_wp_287986.png

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.



Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo A K
      A K

      Hi Arun,

      It should be use dpmon pf=<profilename> and not dpmpn pf=<profilename>.

      Regards,

      Abhishek

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      thanks abhisheik eited the typo.

      Author's profile photo Former Member
      Former Member

      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).

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Former Member
      Former Member

      🙂 Thanks for your response Kamil

      Author's profile photo Kartik Panicker
      Kartik Panicker

      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