Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

flow-mask(1) [debian man page]

flow-mask(1)						      General Commands Manual						      flow-mask(1)

NAME
flow-mask -- Apply tags to flow files. SYNOPSIS
flow-mask [-hk] [-b big|little] [-C comment] [-d debug_level] [-m mask_fname] [-M active_def ...] DESCRIPTION
The flow-mask utility is used to modify the source and destination mask length's in flow records. OPTIONS
-b big|little Byte order of output. -C Comment Add a comment. -d debug_level Enable debugging. -h Display help. -k Keep time from input. -m mask_fname Load masks from mask_name. Defaults to /etc/flow-tools/cfg/mask -M mask_def Use active_def as the active tag definition(s). The configuration file is a collection of definitions. A definition lists a sequence of prefixes and the mask length to replace the match- ing prefix with. Lines begining with # are treated as comments and ignored. mask-definition command Description ---------------------------------------------------------------------- mask-definition Begin mask-definition section mask-definition foo prefix List the prefix to match on and the replacement mask. prefix 128.146/16 24 EXAMPLES
# #file: masks # mask-definition foo # All networks in 128.146/16 are /24's. prefix 128.146/16 24 # except for 128.146.214/24, which are /32's. prefix 128.146.214/24 32 flow-cat flows | flow-mask -mfoo -Fmasks | flow-print -f4 FILES
Configuration files: Mask - /etc/flow-tools/cfg/mask.cfg. BUGS
None known. AUTHOR
Mark Fullmer maf@splintered.net SEE ALSO
flow-tools(1) flow-mask(1)

Check Out this Related Man Page

flow-expire(1)						      General Commands Manual						    flow-expire(1)

NAME
flow-expire -- Manage storage of flow file archives by expiring old data. SYNOPSIS
flow-expire [-h] [-d debug_level] [-e expire_count] [-E expire_size] -w workdir DESCRIPTION
The flow-expire utility will remove the oldest flow files in a directory based on either a count of files or space utilization. The direc- tory is recursively searched for flow files. Files that do not have a flow-tools signature will be ignored. The internal timestamp is used so backups or copies of the flow files that do not retain the original timestamp will not impact the operation of flow-expire. flow- expire is typically used to manage storage in a distributed environment where flows are collected on a different server than they are archived. OPTIONS
-d debug_level Enable debugging. -e expire_count Retain the maximum number of files so that the total file count is less than expire_count. -E expire_size Retain the maximum number of files so that the total storage is less than expire_size. The letters b,K,M,G can be used as multi- pliers, ie 16 Megabytes is 16M. -h Display help. -w workdir Work in workdir. EXAMPLES
Remove the oldest flow files in /flows/krc4 until the total storage is less then 2 Gigabytes. flow-expire -E2Gig -w /flows/krc4 Remove the oldest flow files in /flows/krc4 until the total number of files is less then 100. flow-expire -e100 -w /flows/krc4 BUGS
Empty directories are not removed. AUTHOR
Mark Fullmer maf@splintered.net SEE ALSO
flow-tools(1) flow-expire(1)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what it means?

I have a command called cd $HDRROOT/release/tools/cfg My query is what it means? tHat is.... $HDRROOT part is not clear. If I put this command it says path not found.... I doubt that $HDRROOT is trying to mean smething I am not clear of. PL help......... (4 Replies)
Discussion started by: rraajjiibb
4 Replies

2. Shell Programming and Scripting

problem while adding column values in awk

Hi, I have a file "input.txt" with the following content : 5312,0,,,1,8,141.2,20090727 3714,0,,,1,8,285.87,20090727 5426,0,,,1,8,3.9,20090727 3871,0,,,1,8,30.4,20090727 9071,0,,,1,8,146.2,20090727 5141,0,,,1,8,2.8,20090727 0460,0,,,1,8,-0.1,20090727 7918,0,,,1,8,-0.1,20090727... (3 Replies)
Discussion started by: valokv
3 Replies

3. Shell Programming and Scripting

Line Replacement help needed.

I have a file called vm.cfg which looks like follows # cat vm.cfg acpi = 1 apic = 1 builder = 'hvm' device_model = '/usr/lib/xen/bin/qemu-dm' disk = kernel = '/usr/lib/xen/boot/hvmloader' memory = '300' name = 'vm_temp' on_crash = 'restart' on_reboot = 'restart' pae = 1 serial =... (5 Replies)
Discussion started by: pinga123
5 Replies

4. UNIX for Dummies Questions & Answers

Masking data

How Can I mask one particular columns using some unix command? (4 Replies)
Discussion started by: dsa
4 Replies