#!/bin/sh
while true
do
    STAMP=`date +%s`
    cat /proc/meminfo > meminfo.$STAMP
    cat /proc/vmstat  > meminfo.$STAMP
    sleep 2s
done
