NAME

dumpnet.getLevel - translate a level mode into a numeric level


SYNOPSIS

dumpnet.getLevel [LEVEL|LEVEL_MODE]


DESCRIPTION

dumpnet.getLevel translates a level mode into a numeric level and sends it to STDOUT. Please see the LEVELS and LEVEL MODES sections in dumpnet(8) for a general discussion.


OPTIONS

LEVEL
If the argument passed to dumpnet.getLevel is numeric it will be directly sent to STDOUT.

LEVEL_MODE
The level modes available by default are the files named $DUMPNET_HOME/bin/dumpnet.getLevel.*. Only specify the asterix part on the command line! dumpnet.getLevel will try to execute dumpnet.getLevel.LEVEL_MODE.


EXAMPLES

Get today's level using the level mode lev0MonthlyLev1WeeklyLev2Daily:

        dumpnet.getSessionId lev0MonthlyLev1WeeklyLev2Daily


EXIT STATUS

dumpnet.getLevel will return 1 if dumpnet.getLevel.LEVEL_MODE could not be executed. In any other case it has a zero exit status.


FILES

 $DUMPNET_HOME/bin/dumpnet.getLevel
 $DUMPNET_HOME/bin/dumpnet.getLevel.lev0MonthlyLev1WeeklyLev2Daily
 $DUMPNET_HOME/bin/dumpnet.getLevel.lev0WeeklyLev1Daily
 $DUMPNET_HOME/bin/dumpnet.getLevel.lev0YearlyLev1MonthlyLev2Weekly


SEE ALSO

 dumpnet(8)


AUTHOR

 Lukas Feiler <lukas.feiler@lukasfeiler.com>


COPYRIGHT AND LICENSE

dumpnet is published under the LGPL (GNU LESSER GENERAL PUBLIC LICENSE). Please see the LICENSE file contained in the installation tarball for details. The official web site is http://dumpnet.sourceforge.net.