]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools/vm/slabinfo: gnuplot slabifo extended stat
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Wed, 21 Oct 2015 22:02:53 +0000 (09:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:02:53 +0000 (09:02 +1100)
commite0d51e8e7398c43c28ce2bc56677cf0af1593913
treec7053834904c230f3f5ef59664c5f1dcd7415f45
parent859ca68979f70ae1f921f2a594df4ed519bd0e04
tools/vm/slabinfo: gnuplot slabifo extended stat

GNUplot `slabinfo -X' stats, collected, for example, using the
following command:
  while [ 1 ]; do slabinfo -X >> stats; sleep 1; done

`slabinfo-gnuplot.sh stats' pre-processes collected records
and generate graphs (totals, slabs sorted by size, slabs
sorted by size).

Graphs can be [individually] regenerate with different samples
range and graph width-heigh (-r %d,%d and -s %d,%d options).

To visually compare N `totals' graphs:
  slabinfo-gnuplot.sh -t FILE1-totals FILE2-totals ... FILEN-totals

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/vm/slabinfo-gnuplot.sh [new file with mode: 0644]