Fixed one instance of grep being used without an absolute path
This commit is contained in:
parent
031406e82b
commit
707a21c97c
|
@ -32,7 +32,7 @@ freeswap.max 0"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "used.value `/usr/bin/free|grep '^Mem:'|/usr/bin/awk '{print $3'}`
|
echo "used.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $3'}`
|
||||||
cache.value `/bin/grep '^Cached:' /proc/meminfo|/usr/bin/awk '{print $2}'`
|
cache.value `/bin/grep '^Cached:' /proc/meminfo|/usr/bin/awk '{print $2}'`
|
||||||
buff.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $6}'`
|
buff.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $6}'`
|
||||||
shared.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $5}'`
|
shared.value `/usr/bin/free|/bin/grep '^Mem:'|/usr/bin/awk '{print $5}'`
|
||||||
|
|
Loading…
Reference in New Issue