Show status of progress?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Show status of progress?
# 1  
Old 02-10-2010
Show status of progress?

So,

What is the best method, if even possible, to display a percentage or a status or progress of a certain command? For example I am forcing a block copy of a an OS image from one machine to another via a shell script and would like for it to display a progress or status so I know if it is working or not.

Thanks

Tom
# 2  
Old 02-10-2010
try this link....
Code:
http://chris-lamb.co.uk/2008/01/24/can-you-get-cp-to-give-a-progress-bar-like-wget/

# 3  
Old 02-10-2010
Wow, I wish I was more adept with awk. That is a bit complicated for my expertise. However, marked it with delicious, thanks a ton!
# 4  
Old 02-10-2010
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

2. Shell Programming and Scripting

Show service status in dialog

Hello is it possible to show current status of service like cron with dialog ? something that show the output of service crond status in top of menu: dialog --title "Administrator" --menu "Please choose an option:" 20 55 10 \ 1 "Add New USER" \ 2 "List all user" \ 3 "Remove user" \ 4... (6 Replies)
Discussion started by: nimafire
6 Replies

3. Programming

Show progress in console application

Hi all I have a program in C++ that I compiled on Ubuntu 9.0 and Centos 5, after I got it running on Windows. In this program, I show progress of a process using the following construct: i = 0; quantum = floor(total_iterations, 100); perc = 0; do { remain = fmod(i, quantum); ... (3 Replies)
Discussion started by: msaqib
3 Replies

4. Shell Programming and Scripting

Just want to show wget progress bar

I have been developing a download manager bash script recently using wget. while downloading a file, the user interface is something like downloading: DSCF0599.JPG ... --09:30:42-- http://xxx.xxx/DSCF0599.JPG => `/home/rastacre/Downloads/DSCF0599.JPG' Resolving xxx.xxx...... (2 Replies)
Discussion started by: anid
2 Replies

5. Shell Programming and Scripting

How to show progress bar for a running process

Hi, I have 2 shell scripts ,one for taking hot backup of oracle Database while other is for progress bar. But I don't have an idea hoe should I incorporate the shell script of progress bar in my hot backup code . Please help. My shell script for hot backup is as below: ... (0 Replies)
Discussion started by: dwiravi
0 Replies

6. Shell Programming and Scripting

pass curls progress/status data to a file

hello hackers again. please help me out once again. i have a script which executes CURL to fetch a file from the web and instantly outputs the files content to STDOUT. now my question - can i somehow write the progress-status to a file? so that curl acts silently (-s) and only puts... (0 Replies)
Discussion started by: scarfake
0 Replies

7. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive. Using the following kernel parameters, i successfully installed across both hard drives from CD: ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies

8. Shell Programming and Scripting

check the status and send an email with status

Hi, We have a text file which has the following data. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002 ST~997~0001 AK1~SH~247 AK2~856~2470001 AK5~A AK2~856~2470002 AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies

9. Shell Programming and Scripting

Display Progress Status

Hi , I want to automate the Disk-Mirroring on Solaris. After the sync is started, I can watch the progress with sunos # metastat | grep done | cut -d ":" -f 2 | cut -d "%" -f 1 which results in a % value How can I display some like Synchronisation in progress :... (2 Replies)
Discussion started by: networkfre@k
2 Replies

10. UNIX for Dummies Questions & Answers

Couldn't open status file /var/samba/STATUS.LCK

I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error. Any suggestions (2 Replies)
Discussion started by: macdonto
2 Replies
Login or Register to Ask a Question