Conntrack.sh

From Ye Ole Stash
Jump to: navigation, search
#!/bin/bash
#There are other parts to this script that are used internally but this covers what is needed for MRTG use.
 
conntracking=`cat /proc/slabinfo | grep -w ip_conntrack | awk '{print $2}'`
echo $conntracking
exit 0
Personal tools