commit | ea7d127b4c44d7e3a0fd8cb99f1b970a5c7a4051 | [log] [tgz] |
---|---|---|
author | Harriet Muutu <hmuutu@google.com> | Thu Aug 12 16:51:42 2021 -0400 |
committer | Harriet Muutu <hmuutu@google.com> | Thu Aug 12 21:14:34 2021 +0000 |
tree | 2638b89f411f8323df397627c83380c1c08fdec1 | |
parent | a3d0c8cdd3c4fe880ed1baab4a00d128c597eb18 [diff] |
Modify how MemCap collects util and saturation This CL modifies how MemCap collects utilization such that the only the percentage usage of main memory is captured. It also modifies how saturation is collected such that a percentage of the total Swap memory is used as a threshold. If total swap memory is 0, a threshold is placed on utilization. This CL also modifies unit tests accordingly. Change-Id: I066d55c534c857572790598869ab3c9078708654 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/21110 Reviewed-by: Dexter Rivera <riverade@google.com> Tested-by: Dexter Rivera <riverade@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.