On Thu, Apr 15, 2010 at 07:16:03AM -0700, roywoco wrote: > I would like to capture the output of vmstat every 10 min into a file. Can > anyone know how I can do it?
Very wrong list for such questions, dude. Nevermind ...
#!/bin/sh
file=/tmp/file while [ true ]; do cat /proc/vmstat >> $file sleep 600 done