#!/bin/sh # fake app that logs something c=1 while true; do # logger writes to syslog (/dev/log) logger -t $0 "test: $c ..." c=$(($c+1)) sleep 2 done