Created
November 25, 2013 17:28
-
-
Save AdamMagaluk/7645086 to your computer and use it in GitHub Desktop.
Memory log script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm mem.log | |
while true; do | |
t=`date +%s` | |
data=`ps -C lt-v3node -o pid=,rss=,vsz=` | |
echo $t $data >> mem.log | |
echo $t $data | |
#gnuplot gnuplot.script | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment