aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/dump.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbruiser/dump.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bruiser/dump.sh b/bruiser/dump.sh
new file mode 100755
index 0000000..411f193
--- /dev/null
+++ b/bruiser/dump.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+"gcc" ramdump.c -o ramdump
+PID=$("pgrep" Dwarf_Fortress)
+"./ramdump" $PID
+echo
+"ls" -s /tmp/ramdump