MCPcopy Create free account
hub / github.com/apache/mesos / statsHelp

Method statsHelp

3rdparty/libprocess/include/process/system.hpp:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83private:
84 static std::string statsHelp()
85 {
86 return HELP(
87 TLDR(
88 "Shows local system metrics."),
89 DESCRIPTION(
90 "> cpus_total Total number of available CPUs",
91 "> load_1min Average system load for last"
92 " minute in uptime(1) style",
93 "> load_5min Average system load for last"
94 " 5 minutes in uptime(1) style",
95 "> load_15min Average system load for last"
96 " 15 minutes in uptime(1) style",
97 "> memory_total_bytes Total system memory in bytes",
98 "> memory_free_bytes Free system memory in bytes"));
99 }
100
101 // Gauge handlers.
102 Future<double> _load_1min()

Callers

nothing calls this directly

Calls 3

HELPFunction · 0.85
TLDRFunction · 0.85
DESCRIPTIONFunction · 0.85

Tested by

no test coverage detected