bundlewrap/bundles/telegraf
CroneKorkN 4493226669
chore(telegraf): drop runtime libraries of the crystal plugins
procio and pressure_stall are now linked statically. Apply only after
the binaries on dl.sublimity.de have been rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
2026-10-23 11:50:28 +02:00
..
items.py telegraf deprications 2026-03-09 12:29:24 +01:00
metadata.py chore(telegraf): drop runtime libraries of the crystal plugins 2026-10-23 11:50:28 +02:00
README.md wip 2021-11-05 21:45:23 +01:00

setfacl -Rm g:telegraf:rX /var/spool/postfix/
setfacl -dm g:telegraf:rX /var/spool/postfix/

TODO io

for pid in $(ls /proc | grep '^[0-9]\+$')
do
  out=$(cat /proc/$pid/io 2> /dev/null) || continue
  read="$(echo $out | grep '^read_bytes:' | cut -d' ' -f2)"
  write="$(echo $out | grep '^write_bytes:' | cut -d' ' -f2)"
  [ $read = 0 ] && [ $write = 0 ] && continue
  comm=$(cat /proc/$pid/comm); echo "$comm: $read/$write"
done