Hi friends,
I am getting some trubles in folder reading. I am having 10 subfolders inside server7 folder. i wanna to read a subfolder name first and check if the foldername gets started with "http". if so , i need to read a file inside that folder. This willl continue for... (1 Reply)
I am adding some individual files to a tar archive and would like them to be added to the archive without any directory hierarchy, even though the files themselves exist in levels of hierarchy. Unfortunately, tar seems to always preserve the directory hierarchy when it adds the files.
Here is... (2 Replies)
Hi,
I have the following subfolder with files:
/data/a/1/xxx.txt
/data/b/2/yyy.txt
/data/c/3/zzz.txt
And i have a set of new folders which have exactly the same structure as above but different disk without the files:
/data_02/a/1/
/data_02/b/2/
/data_02/c/3/
Now i would like to... (6 Replies)
I have directory with shorcuts of files.
for example:
gara@yn\short\name1 ( shortcut to gara@yn\FOLDER\OPT\GARA\1.jpg )
gara@yn\short\name2 ( shortcut to gara@yn\FOLDER\OPT\GARA\11.jpg )
gara@yn\short\name3 ( shortcut to gara@yn\MARA\URSA\2.jpg )
gara@yn\short\name4 ( shortcut to... (6 Replies)
Hi folks,
I have an query that is let say i have to search in an xml file an tag that is <abcdef> now this xml file is at /opt/usr/local so one fastest way to achieve this is go to this location by cd /opt/usr/local and then do grep like this... grep -i abcdef but for this I must know the... (4 Replies)
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
The bash executes but returns no results and the set -xv showed while the $run variable in blue, was extracted correctly, the $match value in green, was not, rather both values in home/cmccabe/Desktop/f1 were extracted not just the matching.
There will always be an exact match from the $run to... (7 Replies)
Discussion started by: cmccabe
7 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)