Sponsored Content
Top Forums Shell Programming and Scripting "Need progress mechanism for copy process" Post 302374578 by Scrutinizer on Wednesday 25th of November 2009 02:40:44 AM
Old 11-25-2009
So you found other threads explaining how to make a progress bar. During the process you need to know how to measure progress in relation to the finished state. The criterion you mention is time, so at any point in time you can define progress as elapsed time divided by 2 minutes.

Last edited by Scrutinizer; 11-25-2009 at 05:12 AM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process seen in "ps aux" but not "top"

Hi, I have a process that can be seen after "ps aux" command. However when I do "top" command. This process cannot be seen. How can this happen? Is there anything wrong with my code? (3 Replies)
Discussion started by: monkfan
3 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. UNIX for Dummies Questions & Answers

A mechanism like "batch file of windows" in Unix

Hi all, Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies

4. Red Hat

"service" , "process" and " daemon" ?

Friends , Anybody plz tell me what is the basic difference between "service" , "process" and " daemon" ? Waiting for kind reply .. .. (1 Reply)
Discussion started by: shipon_97
1 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

8. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
Gtk2::ProgressBar(3pm)					User Contributed Perl Documentation				    Gtk2::ProgressBar(3pm)

NAME
Gtk2::ProgressBar - wrapper for GtkProgressBar HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Glib::Object::_Unregistered::GtkProgress +----Gtk2::ProgressBar INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::ProgressBar->new ellipsizemode = $pbar->get_ellipsize Since: gtk+ 2.6 $pbar->set_ellipsize ($mode) o $mode (Pango::EllipsizeMode) Since: gtk+ 2.6 double = $pbar->get_fraction $pbar->set_fraction ($fraction) o $fraction (double) progressbarorientation = $pbar->get_orientation $pbar->set_orientation ($orientation) o $orientation (Gtk2::ProgressBarOrientation) $pbar->pulse double = $pbar->get_pulse_step $pbar->set_pulse_step ($fraction) o $fraction (double) string or undef = $pbar->get_text $pbar->set_text ($text) o $text (string or undef) PROPERTIES
'activity-blocks' (Glib::UInt : default 5 : readable / writable / private) The number of blocks which can fit in the progress bar area in activity mode (Deprecated) 'activity-step' (Glib::UInt : default 3 : readable / writable / private) The increment used for each iteration in activity mode (Deprecated) 'adjustment' (Gtk2::Adjustment : default undef : readable / writable / private) The GtkAdjustment connected to the progress bar (Deprecated) 'bar-style' (Gtk2::ProgressBarStyle : default "continuous" : readable / writable / private) Specifies the visual style of the bar in percentage mode (Deprecated) 'discrete-blocks' (Glib::UInt : default 10 : readable / writable / private) The number of discrete blocks in a progress bar (when shown in the discrete style) 'ellipsize' (Pango::EllipsizeMode : default "none" : readable / writable / private) The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. 'fraction' (double : default 0 : readable / writable / private) The fraction of total work that has been completed 'orientation' (Gtk2::ProgressBarOrientation : default "left-to-right" : readable / writable / private) Orientation and growth direction of the progress bar 'pulse-step' (double : default 0.1 : readable / writable / private) The fraction of total progress to move the bouncing block when pulsed 'text' (string : default undef : readable / writable / private) Text to be displayed in the progress bar STYLE PROPERTIES
'min-horizontal-bar-height' (integer : default 20 : readable / writable) Minimum horizontal height of the progress bar 'min-horizontal-bar-width' (integer : default 150 : readable / writable) The minimum horizontal width of the progress bar 'min-vertical-bar-height' (integer : default 80 : readable / writable) The minimum vertical height of the progress bar 'min-vertical-bar-width' (integer : default 22 : readable / writable) The minimum vertical width of the progress bar 'xspacing' (integer : default 7 : readable / writable) Extra spacing applied to the width of a progress bar. 'yspacing' (integer : default 7 : readable / writable) Extra spacing applied to the height of a progress bar. ENUMS AND FLAGS
enum Gtk2::ProgressBarOrientation o 'left-to-right' / 'GTK_PROGRESS_LEFT_TO_RIGHT' o 'right-to-left' / 'GTK_PROGRESS_RIGHT_TO_LEFT' o 'bottom-to-top' / 'GTK_PROGRESS_BOTTOM_TO_TOP' o 'top-to-bottom' / 'GTK_PROGRESS_TOP_TO_BOTTOM' enum Gtk2::ProgressBarStyle o 'continuous' / 'GTK_PROGRESS_CONTINUOUS' o 'discrete' / 'GTK_PROGRESS_DISCRETE' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Glib::Object::_Unregistered::GtkProgress COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::ProgressBar(3pm)
All times are GMT -4. The time now is 01:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy