cancel
Showing results for 
Search instead for 
Did you mean: 

How to kill work process from SUN OS

Former Member
0 Kudos

Hi Gurus,

4.7, Sun OS

I need to kill one WP from OS level. I tried to kill from SM50 but it is not happening. Can anyone address this case.

Advance Thanks.

RAO

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi

To kill the process with session, you have to execute the sm04 and select the row and click on session, then select the process and click on end-session,

Regards

Anwer Waseem

Former Member
0 Kudos

Anwer,

Read the Question Carefully and Answere.

Thanks & Regards,

Kishore Reddy

null

Former Member
0 Kudos

Rao,

From OS level you can kill the process only if you login as <sid>adm.

Check the PID from SM50 as that is the same one OS uses.

Suppose for example if PID displayed at OS level is 1428 use the following command:

1)First check the process with the following command:

ps -ef|grep 1428

Cross check if the process that you are going to kill

2)Use comand :

kill -9 1428

3)Check if the work process is in wait state now.

Regards,

Krishna Mohan

Former Member
0 Kudos

Hello Jalli,

I would rather recommend you to use <b>dpmon</b> to kill workprocess from OS level.

Instead of kill command, interactievly use dpmon to terminate SAP work process.

Regards,

Ammey Kesarkar

<i>'Award points for useful info'</i>

Former Member
0 Kudos

Hi Jalli,

You can get the process number of a process by using <b>ps -ef|grep dia</b> (example for dialog process) Then you can do <b>kill -9 pid</b>

**Reward points accordingly

Junaid

Former Member
0 Kudos

Hi Jalli,

Use

kill -9 <process number>

Make sure that you use the correct process number and also read about kill command in manual using

man kill

regards,

Vinodh.