Log Foxview Usage
From Cassandra
The following script will log the startup and shutdown of all remote Foxviews to a log file.
#!/bin/sh PROG=/opt/fox/wp/FoxView/foxview LOG_FILE=/opt/ia/xwin.log NAME=`/usr/bin/echo $DISPLAY | /usr/bin/tr -d ":0"` date=`/usr/bin/date +"%D|%T"` $PROG & pid=$! /usr/bin/echo "$NAME|START|$date|$pid" >> $LOG_FILE wait date=`/usr/bin/date +"%D|%T"` /usr/bin/echo "$NAME|END|$date|$pid" >> $LOG_FILE
