Drop obsolete capture script
This commit is contained in:
parent
54ffd3fca7
commit
5777a0c9c3
1 changed files with 0 additions and 12 deletions
12
capture
12
capture
|
|
@ -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 *
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue