Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-04-2008, 01:50 PM   #1
Registered: Jun 2006
Posts: 92

Rep: Reputation: 16
View Progress or Timer of processes !!

Dear Experts,

As a inchange of server tasks in my company, I running administrative commands and scripts.

During doing all these tasks, inbetween I wanted to perform other importent tasks but I'm not sure that the commands and scripts which used to run will take how much time to complete.
I want that when I perform any task by running command(s) or scripts, a timer or progress should display in the screen (i.e. in % or remaining time format). This will help me to figure out that how long the running command or script will take time which will help me to perform other tasks inbetween. I couldn't figure out the solution.

pls help me out to resolve the problem.
Old 10-04-2008, 02:18 PM   #2
Registered: Sep 2003
Location: Colorado
Posts: 85

Rep: Reputation: 15
You could email yourself when the job is done if you are running the job from the command line, example below.

ping -c 5 && echo "The job is done" | mail -s "Job Status" me@mydomain.dom &
Old 10-04-2008, 03:58 PM   #3
LQ Newbie
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
in addition, you may insert something like 'echo "step 5 finished"' between some parts of your scripts,
and if they do some processing on files - you can pipe files through programs like 'bar' or 'pv'.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
progress view command for linux mpmackenna Linux - General 6 06-17-2008 09:44 AM
Multimedia timer (SMP friendly timer) bigqueso Linux - Kernel 0 03-15-2007 03:49 PM
Any way to view the current processes? alyks SUSE / openSUSE 7 10-18-2004 10:04 AM
How do i view processes and stop them? rid00z Linux - General 2 02-10-2004 04:30 PM
how do i view processes in the console? ShawnD Linux - General 1 07-15-2002 08:04 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration