From 8c8f3b2d2b25379f728e9c4e826bf64b449e864d Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 12 Feb 2003 13:54:39 +0000 Subject: [PATCH] initial revision --- bin/captureStats.sh | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) create mode 100755 bin/captureStats.sh diff --git a/bin/captureStats.sh b/bin/captureStats.sh new file mode 100755 index 0000000..95107e9 --- /dev/null +++ b/bin/captureStats.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +out=stats-`date +%Y-%m-%d`.out +# clear the output file +> $out + +echo "break to stop stats collection" +while true; do + date +%Y-%m-%d:%H:%M:%S | tee -a $out + vmstat -c 5 | tee -a $out +done -- libgit2 0.21.4