Hi, 
I would like to collect statistics on my netflow from multiple hosts , spanning 
multiple days and a specific time. For example from host1 , host2, and host3, 
on 03/26/2010, 03/27/2010, and 03/28/2010 at 0800. The problem I am having is 
that nfdump seems unable to use a wildcard.
Here is the command:

[u...@netflow]$ nfdump -M 
/var/data/nfsen/profiles-data/live/cr-ul/2010/03/26:27:28 -R nfcapd.*0800 
'inet6 and not dst ip fec0:0:0:ffff::1' -S
WARNING: -S depricated! use -s record/packets/bytes instead. Option will get 
removed.
stat() error 
'/var/data/nfsen/profiles-data/live/cr-ul/2010/03/26/nfcapd.*0800': File not 
found!

I was able to wrap this command in a script, and by using the -R command I 
could make this work. 
Another solution I found was to hack the source code so that filenames were 
written to disk without year, month, and day; nfcapd.0800 for example. Then I 
could use the command above without a wildcard.

Is there another way to do this without additional scripting or hacking up the 
source? 

Thanks,

--Chad

 
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to