Fork me on GitHub

source: git/doc/memory_usage.sh@ a0431dc

ImprovedOutputFile Timing dual_readout llp
Last change on this file since a0431dc was eff28d6, checked in by pavel <pavel@…>, 11 years ago

add memory_usage.sh

  • Property mode set to 100755
File size: 116 bytes
RevLine 
[eff28d6]1#! /bin/sh
2
3exec "$@" &
4pid=$!
5echo $pid
6while true
7do
8 ps -p $pid -o vsize= -o rss= >> $pid.txt
9 sleep 0.1
10done
Note: See TracBrowser for help on using the repository browser.