Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbar(1) [debian man page]

dbar(1) 							   User Commands							   dbar(1)

NAME
dbar - ASCII progresbar SYNOPSIS
echo <percentage> | dbar [options] <indicator text> DESCRIPTION
dbar lets you define static 0% and 100% marks or you can define these marks dynamically at runtime. Static and dynamic marks can be mixed, in this case the value specified at runtime will have a higher priority. You can specify ranges of numbers, negative, positive or ranges with a negative min value and positive max value. All numbers are treated as double precision floating point, i.e. the input is NOT limited to integers. OPTIONS
-l Label to be prepended to the bar (default: "" ). -nonl no new line, don't put ' ' at the end of the bar (default: do print " ") -max Value to be considered 100% (default: 100). -min Value to be considered 0% (default: 0). -s Symbol represeting the percentage value in the meter (default: "="). -w Number of charcaters to be considered 100% in the meter (default: 25) EXAMPLES
Static 100% mark or single value input: echo 25 | dbar -max 100 -l text Output: text 25% [====== ] If your 100% mark changes dynamically or 2-values input: echo "50 150" | dbar | | | |__ max value | |__ value to display Output: 33% [======== ] If your value range is not between [0, maxval] or 3-values input: echo "50 -25 150" | dbar | | | | | |__ max value 100% mark | | | |_____ min value 0% mark | |________ value to display Output: 43% [=========== ] Multiple runs: for i in 2 20 50 75 80; do echo $i; sleep 1; done | dbar | dzen2 Output: Find out yourself. ENVIRONMENT
None. FILES
None. SEE ALSO
dzen2(1) AUTHORS
Program was written by Robert Manea <rob.manea@gmail.com>. This manual page was written by Jari Aalto <jari.aalto@cante.net> for the Debian GNU system (but may be used by others). Released under license GNU GPL version 2 or (at your option) any later version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>. dbar 2012-04-02 dbar(1)

Check Out this Related Man Page

matroxset(1)							   User Commands						      matroxset(1)

NAME
matroxset - switch the output mode of Matrox video cards SYNOPSIS
matroxset [OPTIONS] [VALUE] OPTIONS
-c Get/set control value. -e Edit controls interactively. -f DEVICE Manipulate the frame buffer DEVICE (default is /dev/fb1). -l List controls -m Connect this frame buffer to the outputs specified in VALUE (0 is none, 1 is primary, 2 is secondary, 4 is digital flat panel; these values may be summed for multiple outputs). -o OUTPUT Set OUTPUT (0 is primary, 1 is secondary, default is 1) to the output mode VALUE (128 is monitor, 1 is PAL TV, 2 is NTSC TV). -p Display information about blanking. DESCRIPTION
Output Matrox card video to television. PAL 50Hz and NTSC 59.94Hz are supported, Composite and S-Video output. Contains two demo programs, normal and swapped. First selects CRTC1 on first output and CRTC2 on second one. Swapped connects CRTC1 to secondary head and CRTC2 to primary head. You can use these programs if you need text mode or 8bpp mode on TV, as CRTC2 is incapable of these modes. In program call, If VALUE is specified, set the specified option to VALUE. If VALUE is not specified, retrieve the value of the specified option. For technical information, see TV-out on the G450 at <http://www.bglug.ca/matrox_tvout>. See also "Matrox Marvel" tips for G200, G400 at <http://marvel.sourceforge.net/>. Matrox frame buffer headers at /usr/include/linux/matroxfb.h ENVIRONMENT
None. FILES
None. SEE ALSO
directvnc(1) fbdev(4) fbgrab(1) fbset(1) fbterm(1) Xvfb(1) AUTHORS
Program was written by Petr Vandrovec <vandrove@vc.cvut.cz>. This manual page was written by Shaun Jackman <sjackman@debian.org>, for the Debian GNU system (but may be used by others). Updated by Jari Aalto <jari.aalto@cante.net>. Released under license GNU GPL v2 or (at your option) any later version. For more information about license, visit <http://www.gnu.org/copyleft/gpl.html>. matroxset 2012-03-26 matroxset(1)
Man Page