AIX: Mappings for host memory info #188
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
According to the documentation, the perfstat_memory_total interface includes additional items so I've mapped them to the Metrics field of the types.HostMemoryInfo.
Result on my aix 7.2 environment:
![image](https://private-user-images.githubusercontent.com/4123460/257801566-7ae5d3ff-fbd4-46ae-a56b-142bac060480.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MjY0OTMsIm5iZiI6MTczOTkyNjE5MywicGF0aCI6Ii80MTIzNDYwLzI1NzgwMTU2Ni03YWU1ZDNmZi1mYmQ0LTQ2YWUtYTU2Yi0xNDJiYWMwNjA0ODAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTlUMDA0OTUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDExMDc2YTljNTY2MTkxODYxNTc4NWQxMmViZDhlYTdiODE2NGRmMmE1MWY1ODU1YzRmNWI3MGRjY2UzYTMxYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.KwWIMWiake-J9hytRlq-xXvrKIIboaRnqJ0SLLk11u0)
New
types.HostMemoryInfo.Metrics
attributes being added.