http://d.hatena.ne.jp/higher_tomorrow/20110601/1306887919
30秒おきにプロットする場合。
vmstat -n 30 | gawk '{ print strftime("%Y/%m/%d %H:%M:%S"), $0 } { fflush() }' >> vmstat.log
http://d.hatena.ne.jp/higher_tomorrow/20110601/1306887919
30秒おきにプロットする場合。
vmstat -n 30 | gawk '{ print strftime("%Y/%m/%d %H:%M:%S"), $0 } { fflush() }' >> vmstat.log