bugcy013
10/27/2014 - 1:46 AM

slab_Cache_finder.sh

slab_Cache_finder.sh

#! /bin/bash
SLABUSED=`grep Slab /proc/meminfo|awk '{print $2}'`
echo "Slab Used: "`expr $SLABUSED / 1024`"Mb" "($SLABUSED Kb)"