Hi guys,
Further to the awk scripts I posted by request the other day.
I've enhanced the LCD program's named pipe support to allow better
formatting.
The section in the awk script which sends data to the display has changed
to (sorry about the long-line reformatting):
if($1 != "IN") {
printf("w3 l3 jleft t\"%s in\" jright t\"out %s\"", traf_in, \
traf_out) > "/etc/lcd/lcd.pipe2"
close("/etc/lcd/lcd.pipe2")
}
The result looks like this:
http://www.digistar.com/~dmann/temp/smurf-ppp.jpg
The load was artificially produced with two 'top' sessions each running 1-
second update cycles. Sorry I missed the "IX o'clock" display :)
Cheers,
- Dave
http://www.digistar.com/~dmann/