mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
b224fa620b
Add a few zfs related plugins [2] PR: 210494 [1] Submitted by: bcr [2] Reported by: Fabian Keil [1] Sponsored by: Absolight
9 lines
469 B
Plaintext
9 lines
469 B
Plaintext
--- plugins/node.d.freebsd/memory.in.orig 2014-11-24 21:46:24 UTC
|
|
+++ plugins/node.d.freebsd/memory.in
|
|
@@ -74,4 +74,4 @@ echo wired.value $(($WIRED_COUNT*$PAGESI
|
|
echo buffers.value $(($BUFFERS_COUNT))
|
|
echo cached.value $(($CACHE_COUNT*$PAGESIZE))
|
|
echo free.value $(($FREE_COUNT*$PAGESIZE))
|
|
-echo swap.value $(swapinfo -k | awk '{sum += $3}; END {print sum * 1024}')
|
|
+echo swap.value $(swapinfo -k | awk '!/^Total/ && !/^Device/ {sum += $3}; END {print sum * 1024}')
|