question

Upvotes
Accepted
5 1 2 7

ads shared memory /python

Hi - is there a way to interrogate ads shared memory (similar to the adsmon -PRINT function) with python?

python#technology#productADS
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @martin.gregory

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS


Upvote
Accepted
24.7k 54 17 14

Hello @martin.gregory

If I am not wrong, the ADS does not expose the shared memory information via API with Python.

However, the ADS has the REST interface that allows web-based client applications to retrieve manageability information over the internet. The information including the configurations, shared memory resources, and even the price data.

1706191022785.png

1706191112566.png

Then you can use Python requests library (or others) to connect the ADS REST interface and retrieve the shared memory information.


1706191022785.png (214.8 KiB)
1706191112566.png (252.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 1 2 7

Thanks very much Wasin

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.