Commit 8c8f3b2d2b25379f728e9c4e826bf64b449e864d

Authored by michael
1 parent 0e16f90f

initial revision


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@938 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 11 additions and 0 deletions
bin/captureStats.sh 0 → 100755
  1 +#!/bin/sh
  2 +
  3 +out=stats-`date +%Y-%m-%d`.out
  4 +# clear the output file
  5 +> $out
  6 +
  7 +echo "break to stop stats collection"
  8 +while true; do
  9 + date +%Y-%m-%d:%H:%M:%S | tee -a $out
  10 + vmstat -c 5 | tee -a $out
  11 +done