Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Shell script issue (SM50)

1190_5939_439
Active Participant
3,517

Hi Experts

I will develop a shell script for deleting process ID.

When time and cative program match some condition. And the script will delete dead process.

Can you help me ? how to means time and active program in the shell ?

The following screent is that T-Code means SM50

10 REPLIES 10
Read only

S_Sriram
Active Contributor
0 Likes
3,349

Hi Jing.

what is the parameter value in your SAP application servers rdisp/max_wprun_time parameter? if it is set then it will automatically throughout from the system with Timeout dumps.

Still, if the program is running an indefinite loop you have to check the program.

Regards

SS

Read only

0 Likes
3,349

How to view rdisp/max_wprun_time parameter ? Thanks

Read only

S_Sriram
Active Contributor
0 Likes
3,349

Hi Jing

Use the transaction code RZ11 and then type the parameter "rdisp/max_wprun_time" and then check the value.

Regards

SS

Read only

0 Likes
3,349

The value is following:

Read only

S_Sriram
Active Contributor
0 Likes
3,349

Hi Jing

The parameter is already set by 2 hours, by default value is 600 sec ( 10 min), Currently, the parameter is set to 7200 sec ( 2 hours). Please check and revert the parameter to 600 sec, then your problem will be solved

Regads

SS

Read only

0 Likes
3,349

There are two parameter with 7200 S. I only revert Current Value. The Instance Profile is not changed ?

Read only

JPReyes
Active Contributor
0 Likes
3,349

Not sure what is your concern, from the screenshot i can tell you that CL_SERVER_INFO is simply the program that is executed when you run SM50/SM66..... its just checking the status of the application servers work processes that is why it shows once in every host.... once you leave the transaction the processes are released.

Regards, JP

Read only

0 Likes
3,349

Hi Juan

My meaning is following:

When SAPMSYST and SAPLSMTR_NAVIGATION are running for 30000s. I will kill the process.

Read only

JPReyes
Active Contributor
0 Likes
3,349

SAPLSMTR_NAVIGATION is just the session manager, check with users It016 and it005 what is been displayed in their screen?

Regards, JP

Read only

0 Likes
3,349

In the default if the session manager is over 3 days. I will kill it . We believe the user did use it for long time.