Skip to Content
Author's profile photo Former Member

Kill Work Process Through OS – Linux

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

        6-28-2013 10-20-43 AM.png


     2.  Then use dpmon to workprocess administration

          6-28-2013 10-24-46 AM.png

          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.

               dpmon pf=<profilename>

               profiles are located on  /usr/sap/<SID>/SYS/profile  or /sapmnt/<SID>/profile.

              6-28-2013 11-35-24 AM.png

          Then the following screen will be displayed

                   

                   6-28-2013 10-24-20 AM.png

       3 – type m and go the the menu

          6-28-2013 1-20-01 PM.png

       4  Then the can use p or l to display the work-process. I will use p here…

         

            6-28-2013 1-23-28 PM.png

      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

              

.              6-28-2013 1-30-16 PM.png

              The required work process will kill now.

          ———————————————————————————————————————————————————

              [ The kill -9 also can be used after identify the pid ]

                  kill -9 13549

               🙂

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.