while true;do ps -euf | grep "./swift --align" | grep -v grep | awk '{print $6}' >> log;sleep 5; done
Friday, October 31, 2008
Log memory used by a process over time
Messy script. This logs memory usage by the process called "swift" to the file called "log":
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment