
How to Get a Device's Memory Usage with pyATS APIs
pyATS Tip: Use pyATS APIs, like get_platform_memory_usage() , to easily retrieve device performance metrics, such as memory usage, from network devices, which you can later use within your test cases.
Example below 👇
from genie import testbed
testbed = testbed.load("testbed.yml")
device = testbed.devices["leaf1&