I am not sure what is wrong with my output. It is the output that I want.
Quote:
src ip dest ip #of flows total bytes
192.168.6.0 88.0.33.2 12 128
192.168.6.0 88.0.33.2 1 168
192.168.6.0 111.22.35.0 2 364
192.168.5.0 88.0.33.2 1 125
.....I want to count the unique destination, total flows and total bytes per sorce ip. The output that I want it to be is this
192.168.6.0 2 15 660
192.168.5.0 1 1 125
.....
From here, source 192.168.6.0 has 2 unique destination (88.0.33.22 and 111.22.35.0). and total of the flows is 12 (12+1+2) and total bytes 660 (128+168+364). So. from your code, I am trying to fit with my code. I am using awk -f count.awk. This are the lines in the count.awk file.
However, I got an error said that the src array is an illegal reference. Please help me. Need to solve this problem
Hi all,
I have some doubts in selecting the interface to transfer packets and receive the packets.
--> Multiple interfaces :
--------------------
1) 0.0.0.0 --------> wild card address.
2) x.x.x.x --------> valid address.(192.168.1.156)
3) ff.ff.ff.ff -------->... (0 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
I'd like to specify a different build and deployment path for files, by default the same path is used for both build and install, I wasn't able to find a way to make these different. With Solaris pkgadd, one can specify different paths in prototype, so I would assume something like that is possible... (0 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Hi Guys,
how to count number of files successfully copied while coping files from source to destination path
ex:10 files from source to target location copying
if 8 files copied successfully then
echo successfully copied=8
failure=2 files
if two files get error to coping files from... (23 Replies)
Is there a way to find out all the ports open between source IP & destination IP in any way ? (12 Replies)
Discussion started by: UnknownGuy
12 Replies
LEARN ABOUT DEBIAN
add_txrx
ADD_TXRX(1) General Commands Manual ADD_TXRX(1)NAME
add_txrx - add two new Data Sources called 'tx' and 'rx' to an RRD file
SYNOPSIS
add_txrx <file> ...
DESCRIPTION
This utility is used when upgrading from FlowScan-1.005 (or less) to FlowScan-1.006 (or greater). It is used to add two new Data Sources
to FlowScan ".rrd" files. e.g.:
$ make install # install FlowScan-1.006 in your existing FlowScan dir
$ cd $prefix/graphs
$ add_txrx total.rrd *.*.*.*_*.rrd
tx - a count of the unique source IP addresses
that have transmitted flows
rx - a count of the unique destination IP addresses
that have received flows
These Data Sources will allows FlowScan users to calculate the average number of bytes, packets, and flows per host and to determine the
overall level of activity (in terms of numbers of individual hosts) for each subnet and for the entire campus.
The values will be recorded only if you use the TopN directive with the CampusIO and/or SubNetIO reports. TopN was introduced in FlowS-
can-1.006.
For instance, if you set CampusIO's TopN to a value greater than zero, the tx value in FlowScan's "total.rrd" is the number of unique
source IP addresses (hosts) from which FlowScan has seen outbound flows.
Upgrading your RRD Files
If you are upgrading, it is necessary to add two new Data Sources to the some of your existing RRD files. Before running flowscan, backup
your RRD files, e.g.:
$ cd $prefix/graphs
$ tar cf saved_rrd_files.tar *.rrd
then do this:
$ cd $prefix/graphs
$ ../bin/add_txrx total.rrd [1-9]*.*.*.*_*.rrd
SEE ALSO add_ds.pl(1), event2vrule(1), flowscan(1), ip2hostname(1), locker(1)AUTHOR
This manual page was written by Anibal Monsalve Salazar, for the Debian Project.
ADD_TXRX(1)