Searched defs:stats (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/tools/
H A Dlxc_info.c45 static bool stats; variable
66 case 'S': stats = true; filter_count += 5; break;
77 {"stats", no_argument, 0, 'S'},
94 -S, --stats shows usage stats\n\
95 -H, --no-humanize shows stats as raw numbers, not humanized\n\
326 if (!state && !pid && !ips && !stats && keys <= 0) {
327 state = pid = ips = stats = true;
359 if (stats) {
H A Dlxc_top.c50 struct stats { struct
63 struct stats *stats; member in struct:ct
265 static void stats_get(struct lxc_container *c, struct ct *ct, struct stats *total)
268 ct->stats->mem_used = stat_get_int(c, "memory.usage_in_bytes");
269 ct->stats->mem_limit = stat_get_int(c, "memory.limit_in_bytes");
270 ct->stats->kmem_used = stat_get_int(c, "memory.kmem.usage_in_bytes");
271 ct->stats->kmem_limit = stat_get_int(c, "memory.kmem.limit_in_bytes");
272 ct->stats->cpu_use_nanos = stat_get_int(c, "cpuacct.usage");
273 ct->stats
289 stats_print_header(struct stats *stats) argument
304 stats_print(const char *name, const struct stats *stats, const struct stats *total) argument
[all...]

Completed in 35 milliseconds