Drop obsolete capture script

This commit is contained in:
Matt Mackall 2010-03-29 16:19:21 -05:00
commit 38e0c8ef3a

12
capture
View file

@ -1,12 +0,0 @@
#!/bin/sh
# example of capturing target data for smem
# capture a memory data snapshot with realtime priority
mkdir -p $1
chrt --fifo 99 \
cp -a --parents /proc/[0-9]*/{smaps,cmdline,stat} /proc/meminfo /proc/version $1
# build a compressed tarball of snapshot
cd $1/proc
tar czf ../../$1.tgz *