#!/bin/bash
# This file contains the commands necessary to capture a sniffer trace

sysname=`uname -n`
date=`date +%F_%0k.%M.%S`

file=$NNLOGS/$sysname"_"$date.cap

echo Creating network capture file: $file
echo Press ctrl-C when done.
tcpdump -s 0 -n -nn -i eth1 -w $file


