Add --no-os-memory-stats-reporting

This commit is contained in:
Michael Vines
2022-03-14 19:38:04 -07:00
parent dbc62f2e28
commit 2da4e3eb6c
5 changed files with 19 additions and 5 deletions

View File

@ -925,6 +925,11 @@ pub fn main() {
.long("no-os-network-limits-test")
.help("Skip checks for OS network limits.")
)
.arg(
Arg::with_name("no_os_memory_stats_reporting")
.long("no-os-memory-stats-reporting")
.help("Disable reporting of OS memory statistics.")
)
.arg(
Arg::with_name("no_os_network_stats_reporting")
.long("no-os-network-stats-reporting")
@ -2362,6 +2367,7 @@ pub fn main() {
),
},
no_poh_speed_test: matches.is_present("no_poh_speed_test"),
no_os_memory_stats_reporting: matches.is_present("no_os_memory_stats_reporting"),
no_os_network_stats_reporting: matches.is_present("no_os_network_stats_reporting"),
poh_pinned_cpu_core: value_of(&matches, "poh_pinned_cpu_core")
.unwrap_or(poh_service::DEFAULT_PINNED_CPU_CORE),