* Monitoring tcpdump's output in background...
@ 1999-03-04 17:02 George Gallen
0 siblings, 0 replies; only message in thread
From: George Gallen @ 1999-03-04 17:02 UTC (permalink / raw)
To: tru64-unix-managers
I'm running DU3.2c presently, but I'm not sure if this is OS ver
dependant or not.
What I want to do is track all ip traffic that is not intended for
or from our system. Our network is on a switched hub, but every
now and then our system slows down and collisions become many.
The tu0 card was set for +p +c.
What I want to do is:
tcpdump ip | grep -v alpha > outputfile &
(alpha is our machine name, so I'm eliminating all traffic to/from it.
there are no other machines in our network with alpha in their name
so this is fine, even if it missed a couple packets)
If I just run 'tcpdump ip | grep -v alpha', it will print out what I
want
at least to the screen. but when I add the ' > outputfile' the size
of the file stays at 0, until I kill the tcpdump process, then it
becomes it's full size.
I tried creating a FIFO file and doing ' | fifofile' instead of '>
outputfile'
but keep getting permission denied, (I chmod 777 on the fifo file and
was
being run as root).
Any ideas on how to place the results of the tcpdump into a file and
be able to monitor it's progress?
George Gallen
ggallen@slackinc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-03-04 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-04 17:02 Monitoring tcpdump's output in background George Gallen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox