Ticket #11188: uptime.sh

File uptime.sh, 104 bytes (added by eanyx, 10 years ago)

uptime script

Line 
1#!/bin/bash
2
3while [ true ]
4do
5{
6 echo `date` >> ./uptime.out
7 uptime >> ./uptime.out
8 sleep 60
9}
10done