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

How to get CPU/Processes data for Other Batch and Enqueue servers

Former Member
0 Likes
1,072

Hi,

I wanted to get the CPU performance data to be populated in Z table. The data that is displayed in ST06 transaction. I fetched it using FM 'GET_CPU_ALL'. But it give me data related to only one Batch server.

Data about other Batch servers and the Enqueue server are not getting fetched.

Can you please guide me with this.

PS : Similiarly I tried to fetch data of SM66 using STUM_WP_TOTAL_ACTIVITY. But getting only of one server.

Regards,

Nirmal

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
887

These FM are remote call enabled, you have to loop through the server list and cumulate the data in your table. (You could also periodically execute one run in every server specifying server names in job scheduling)

You can get the server list via FM like [TH_SERVER_LIST|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=th_server_list+obsolete&adv=false&sortby=cm_rnd_rankvalue] or RFC_GET_LOCAL_SERVERS.

Regards

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
888

These FM are remote call enabled, you have to loop through the server list and cumulate the data in your table. (You could also periodically execute one run in every server specifying server names in job scheduling)

You can get the server list via FM like [TH_SERVER_LIST|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=th_server_list+obsolete&adv=false&sortby=cm_rnd_rankvalue] or RFC_GET_LOCAL_SERVERS.

Regards

Read only

0 Likes
887

Hi,

My system is a BW system.

While using the Remote option, It calls FM 'GET_PERF_DATA_RECORDS'. This FM is not available in my system.

Regards,

Nirmal

Read only

0 Likes
887

Use one of this two options

  • Fill the parameter LOCAL_REMOTE with the 'INTERN' value, and only fill the logical_destination parameter

  • fill both parameters to space and use a syntax like

    
         call function 'GET_CPU_ALL'
           destination logical_destination
    

    (You will remottely execute a local execution

NB: Get1PerfData is a system function.

Regards

Read only

0 Likes
887

I dont have the SAP System with me now. But I guess that I tried the INTERN option too.

Can you help with the C Function option that you are speaking of?

Regards,

Nirmal