slabtop: total slabs & caches header fix
Commit 0ac63f5bc1
messed up header
print order; the Total Slabs and Total Caches where reported in place
of each other.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
26f2deac52
commit
bb142f7aa6
@ -363,11 +363,11 @@ int main(int argc, char *argv[])
|
||||
stats.nr_active_objs, stats.nr_objs,
|
||||
100.0 * stats.nr_active_objs / stats.nr_objs,
|
||||
_("Active / Total Slabs (% used)"),
|
||||
stats.nr_active_caches, stats.nr_caches,
|
||||
100.0 * stats.nr_active_caches / stats.nr_caches,
|
||||
_("Active / Total Caches (% used)"),
|
||||
stats.nr_active_slabs, stats.nr_slabs,
|
||||
100.0 * stats.nr_active_slabs / stats.nr_slabs,
|
||||
_("Active / Total Caches (% used)"),
|
||||
stats.nr_active_caches, stats.nr_caches,
|
||||
100.0 * stats.nr_active_caches / stats.nr_caches,
|
||||
_("Active / Total Size (% used)"),
|
||||
stats.active_size / 1024.0, stats.total_size / 1024.0,
|
||||
100.0 * stats.active_size / stats.total_size,
|
||||
|
Loading…
Reference in New Issue
Block a user