SAP Basis Tutorials - What Is Dpmon Tool - How To Use It

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?

More Next Blog» jatinwadhwa

SAP Basis Tutorials


Hi..In this blog am covering SAP Basis/netweaver concepts, monitoring, administration, performance tuning, SAP implementations, FAQs. P
please subscribe to get an update on new articles published

About Me Authorisation Implementations Administration Java Performance Tuning Database Personality Development

Saturday, 2 July 2011 Total P


Search this blog
What is Dpmon tool ? How to use it ?
Go!
This article answers the following query :

What is dpmon tool ? How to use it ?


Translate

Select Language What is dpmon tool ?

Powered by Translate
dpmon is an auxiliary tool provided by SAP to use from operating system level. This tool provides Popula
the functionalities similar to workprocess overview of SAP (SM50 or SM66).
SAP Ba
Followers Proacti
This tool will be of great use if by any reason, we are not able to login to SAP system through SAP
system
GUI. We can use dpmon and login to SAP system at operating system level and we can identify issues
Followers (811) Next
the reasons for the issue and we can action accordingly. correct

How to open dpmon tool ? How to


job run
sap?
(Am demonstrating the usage of dpmon tool based on AIX or HP-UX operating systems) This ar
trouble
Login to Central Instance(CI) host of the SAP system using <sidadm> userid. running
--------
After logging in goto the CI, please go to the profiles path. ----...

You can use any of the following commands to go to the profiles directory

cd /usr/sap/<SID>/SYS/profile (or)
monito
What a
cd /sapmnt/<SID>/profile (or)

Gadget How to
cdpro report
This content isn't available over To conf
encrypted connections yet. specific
Please find below screenshot manag
manag
system

connec
connec
?...

How to
activity
This ar
queries
refresh
the ste

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 1/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?
to chec
related
status
Use the command as shown below :

dpmon pf=<profilename>

in SAP
when w

is spoo
trouble
to dele

Blog A

► 201
► 201
► 201
► 201
It displays “Dispatcher Queue Statistics as below”. In this screenshot we can figure out if any ► 201
dispatcher waits are there
▼ 201
► 1
► 1
► 0
► 0
► 0
► 0
► 0
► 0
► 0
► 0
► 0
► 0
► 0
► 0
▼ 0
Ho

Ho

Ho

Ho

Ho

Ho

W
Ho

Ho

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 2/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?
Ho

Ho

Ho

Ho

Ho

Ho

► 0
► 0
► 0
► 0
Click on l in the above screenshot to view work process overview as below :

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 3/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?

From the above screen, we can make out if all the dialog workprocesses are full.
In that case, PID of a problematic process can be taken and that process can be killed at Oslevel
by Kill -9 <PID>. After that you can login to the system as you have just killed one dialog process
and it is free so that it will allow you to login to the SAP system from SAPGUI.

In addition to that, following are the commands that can be executed in dpmon tool in the above
screen :

Press k to kill workprocess (with core)

Press s to stop workprocess

Press q to quit from dpmon tool

Enter your email address:

Subscribe
Delivered by FeedBurner

Posted by DurgaPrasad at 01:08

Reactions: funny (0) interesting (0) cool (0)

16 comments:

Anonymous 15 November 2011 at 18:15

You have given Kill -9 PID..What is PID here?

Reply

DurgaPrasad 15 November 2011 at 21:14

Hi friend...PID is nothing but process id. Every sap process running on unix or any other operating
system will have a process id. To kill that process in unix you have to use kill -9 followed by that process
id to terminate that process. Hope it is clear now.

Reply

Anonymous 1 April 2012 at 02:28

hello sir,
Let me 1st thank u for such an awesome forum...regarding above doubt suppose i want to kill dia wp

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 4/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?
listed in sequence 10 then how will i find out PID of dat.....in general we use "ps" command to find out
the PID...

Regards
Aditya

Reply

Replies

DurgaPrasad 19 June 2013 at 17:18

Hi Aditya...if you use dpmon command, you can list all the process that are running currently
in your server. Along with each process, the pid also will be displayed. Please refer 5th
screenshot in the above article.
For example, if you want to kill workprocess number 4 and workprocess type dia..you can
identify from the screen itself that pid for that process is 29419.

Hope, i have answered your query!

Reply

DurgaPrasad 3 April 2012 at 15:06

Hi Aditya..thanks for your nice comments. Coming to your query, in case you need to kill dia wp listed in
sequence 10, you can either view pid of the same in dpmon tool or if sap system is accessible you can
view in SM50 or SM66 tcodes.

Hope, i answered your query.

Reply

Vamsi 23 June 2012 at 16:52

Killing of a dialog process is not recommended directly using kill -9 as a active session/transaction may
be in progress.What are pros/cons and what situation would you use it.

Reply

Replies

DurgaPrasad 19 June 2013 at 17:24

Yes..killing of a workprocess is not recommended using kill -9. You can use this method in
emergency scenarios like

i)if you are unable to login to sap system and you found a particular process is problematic
one, then in those cases

ii) You are able to login to sap system but unable to terminate a process from sap level using
SM50/SM66

In other cases, where you are able to login to sap system, you can use SM50/SM66 to
terminate a process. You can even use MMC to terminate a process

Reply

swaroop 1 August 2012 at 15:04

hi vamsi. . if suppose any user is consuming more memory and that will effect the other users indirectly
so in that case u just have to put a mail boss your consuming more memory please do it in background
in off peak hours and terminate that process . . (not sure this is what i understand correct me if am
wrong)

Reply

Anonymous 12 September 2012 at 21:40

please write a brief explanation of fields on screen like NOW, HIGH etc and othersl ike WAKE EVENTS
etc. Thanks

Reply

Anonymous 8 March 2013 at 05:09

hello

We have an issue where we were able to bring the sap quality system up , but unable to login, system i
sgoing to hung state. could u pls suggest

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 5/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?

we have done our analysis and found that dispatcher is not able to connect

Reply

Replies

Hari Krishna Kesana 13 March 2013 at 09:35

I am assuming that you are unable to login using SAP GUI, but you are able to login at os
level.

vi the instance profile and check/change accordingly.


rdisp/wp_no_btc = 5
rdisp/wp_no_dia = 5

do the stopsap and startsap.

once the quality system is up, try connecting via GUI.

check the operation modes, and see the DIA & BTC workprocess are the same what you
changed in the OS level by using the commands SM51/SM50.

Reply

SATHISKUMAR M R 17 May 2013 at 13:03

Hi Durgaprasad,

I am getting the below error while executing the dpmon command in Linux. I have checked everything
but still am not able to start the Java instance but ABAP was started. Please let me know steps to fix
this issue.

Error:

eccehp6:eh6adm 88> dpmon


dpmon=>sapparam(1c): No Profile used.
dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 119/137

---------------

Thanks in advance
Sathis

Reply

Replies

DurgaPrasad 19 June 2013 at 17:30

This comment has been removed by the author.

DurgaPrasad 19 June 2013 at 17:33

Hi Sathish,

From the error message, I could notice that you haven't used profile along with dpmon
command.

Please follow below steps

i)Please goto profile directory using cdpro command

ii) Please execute following command

dpmon pf=

In the above line is profile name of the server.

Reply

Anonymous 17 June 2013 at 20:11

try the following

cdpro

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 6/7
11/4/2017 SAP Basis Tutorials: What is Dpmon tool ? How to use it ?

dpmon pf=

Reply

Chellinkala Raghu 8 March 2014 at 23:05

Hi Durga prasad,
can you please explain me briefly about "Dispatcher Queue Statistics".

Reply

Enter your comment...

Comment as: JATIN WADHW Sign out

Publish Preview Notify me

Links to this post


Create a Link

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Awesome Inc. theme. Powered by Blogger.

https://sapbasisdurgaprasad.blogspot.in/2011/07/what-is-dpmon-tool-how-to-use-it.html 7/7

You might also like