Skip to content

Instantly share code, notes, and snippets.

@oyagci
Last active September 25, 2017 09:34
Show Gist options
  • Save oyagci/11e3a3c36fda10540c0c1d4eb34807b3 to your computer and use it in GitHub Desktop.
Save oyagci/11e3a3c36fda10540c0c1d4eb34807b3 to your computer and use it in GitHub Desktop.
How to check your leaks with a script.
#!/bin/bash
while true
do
a=$(leaks 42sh > /tmp/leakout.txt)
wait $!
clear
cat /tmp/leakout.txt
sleep 0.5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment