callgraph/sysdig.sh

6 lines
108 B
Bash
Raw Normal View History

2016-04-13 12:17:46 +00:00
#!/usr/bin/env bash -e
t="$(mktemp)"; f() {
rm "$t"
}
2016-05-09 15:33:33 +00:00
trap f EXIT; cat > "$t"; sudo sysdig -N -s0 -c "$t"