On Mon, 2 Feb 2004, Adam Maloney wrote: > You want pfmon to send the data to STDOUT instead of a file, and then > pipe it to awk (as John suggested). If it's a "good" program, then by > not specifying a filename it will probably just default to STDOUT. Or > with some commands you can specify "-" as the file to mean stdout. > > So, as John suggested, > > pfmon | awk '{ SOME STUFF }' > output_file > Or, if it's not a friendly program you might be able to use mkfifo to create a named pipe to hand it as a filename, then tail the pipe in a separate process. Or something like that. strayf at freeshell.org SDF Public Access UNIX System - http://sdf.lonestar.org _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list