mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6622b05326
In order to populate the total and free mem of an IOS device, we run the 'show memory statistics' command. The output shows something similar to: Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor BEAE880 335215488 64044364 271171124 268918092 268463852 I/O 8DAE880 51380224 41880736 9499488 9461552 9352252 We need to just parse the line containing 'Processor' and get the first and third number for total and free mem, instaed for first and second as the code wrongly does. |
||
---|---|---|
.. | ||
ansible |