Application Development 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: 

Shell script issue (SM50)

1190_5939_439
Active Participant

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

Sriram2009
Active Contributor
0 Kudos

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

0 Kudos

How to view rdisp/max_wprun_time parameter ? Thanks

Sriram2009
Active Contributor
0 Kudos

Hi Jing

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

Regards

SS

0 Kudos

The value is following:

Sriram2009
Active Contributor
0 Kudos

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

0 Kudos

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

JPReyes
Active Contributor
0 Kudos

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

0 Kudos

Hi Juan

My meaning is following:

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

JPReyes
Active Contributor
0 Kudos

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

Regards, JP

0 Kudos

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.