cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect SM50 output on unix file

Former Member
0 Kudos

Hello,

how can we execute daily SM50 daily and redirect html output on unix file?

I Tried SE38, execute SM50 succefully, but no way to redirect output of this transaction on a unix file ?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Majda,

You can redirect the output to a file from OS level using ">>" operator.

Also, not sure, but you can use screen recording and cat scripts.

Regards,

Divyanshu

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi majda,


Hope you are doing good.
Maybe check /nSM49 and create a OS command using ">>" operator Divyanshu mentioned:

Restrict Authorizations for Executing External Commands - SAP NetWeaver Application Server ABAP Secu...



Thank you!
____________
Kind Regards,
Hemanth
SAP AGS
 

alwina_enns
Employee
Employee
0 Kudos

Hello Majda,

why you are not using dpmon on OS level? The dpmon output contain same info like SM50.

regards,

Alwina

Former Member
0 Kudos

Hello,

because, i want to schedule 35 transactions every morning to check the state of apllication server, work process, logs and many other checks for which no unix tool is available.

I said only SM50 to simplify my question.

if i can do it for SM50, i can do it for the 35 other transactions.

Thank you.

peter_strauss
Participant
0 Kudos

You might be able to get most of what you want with program /sdf/mon

That will write to the spool. From there there's probably something fancy you can do to write the spool to the OS if you really need to.