[Vm-dev] Freeze after Morph Activity
Ben Coman
btc at openinworld.com
Mon Jan 30 10:42:39 UTC 2017
On Mon, Jan 30, 2017 at 9:22 AM, Dan Norton <dnorton at mindspring.com> wrote:
>
>
> OK - I was not sure how to "log my system time".
Something like this would do...
#!/bin/bash
while true
do
before=$now
now=`date +%H:%M:%S`
echo "$now"
b=`date --date="$before" +%s`
n=`date --date="$now" +%s`
if [ $b -gt $n ]; then
echo "!!!"
fi
sleep 1
done
cheers -ben
More information about the Vm-dev
mailing list