2) netstat -an | find /c "TIME_WAIT" >> /path/to/time_wait.log,
snapshotted every 10 minutes
Len
first one writes to some memory area and the other one can manipulate it.
aka "pipe": output from one process to input of another process.
pipe is one of the original core concepts/innovations of "The Unix Way",
which MS copied (just in case you read that MS invented piping)
You can concatenate more than 2.
You should also start the log line with a date/time stamp.
Len
Go Spurs Go
_____________________________________________________________________
http://IMGate.MEIway.com : free anti-spam gateway, runs on 1000's of sites
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/