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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. Red Hat
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
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. Programming
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
9. Shell Programming and Scripting
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
10. Programming
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
LEARN ABOUT LINUX
plymouth
PLYMOUTH(1) User Commands PLYMOUTH(1)
NAME
plymouth - Send commands to plymouthd
SYNOPSIS
plymouth [OPTION...]
plymouth COMMAND [OPTION...]
DESCRIPTION
The plymouth sends commands to a running plymouthd. This is used during the boot process to control the display of the graphical boot
splash.
OPTIONS
The following options are understood. These options are supported for compatibility with the old rhgb-client interface, and have been
replaced by the commands that are described in the next section.
--help
Show summary of options.
--debug
Enable verbose debug logging.
--get-splash-plugin-path
Get directory where splash plugins are installed.
--newroot=[STRING]
Tell plymouthd that the new root filesystem is mounted.
--quit
Tell plymouthd to quit.
--ping
Check if plymouthd is running.
--has-active-vt
Check if plymouthd has an active vt.
--sysinit
Tell plymouthd root filesystem is mounted read-write.
--show-splash
Show the splash screen.
--hide-splash
Hide the splash screen.
--ask-for-password
Ask the user for a password.
--ignore-keystroke=[STRING]
Remove sensitivity to a keystroke.
--update=[STRING]
Tell plymouthd an update about boot progress.
--details
Tell plymouthd there were errors during boot.
--wait
Wait for plymouthd to quit.
COMMANDS
The following commands are understood:
change-mode OPTION
Change the operation mode.
--boot-up
Start the system up
--shutdown
Shutting the system up
--updates
Applying updates
system-update OPTION
Tell plymouthd about boot progress.
--progress=INTEGER
The percentage progress of the updates
update OPTION
Tell plymouthd about boot status changes.
--status=STRING
Tell plymouthd the current boot status
update-root-fs OPTION
Tell plymouthd about root filesystem changes.
--new-root-dir=STRING
Root filesystem is about to change
--read-write
Root filesystem is no longer read-only
show-splash
Tell plymouthd to show splash screen.
hide-splash
Tell plymouthd to hide splash screen.
ask-for-password OPTION
Ask the user for a password.
--command=STRING
Command to send password to via standard input
--prompt=STRING
Message to display when asking for password
--number-of-tries=INTEGER
Number of times to ask before giving up (requires --command)
--dont-pause-progress
Don't pause boot progress bar while asking
ask-question
Ask the user a question.
--command=STRING
Command to send the answer to via standard input
--prompt=STRING
Message to display when asking the question
--dont-pause-progress
Don't pause boot progress bar while asking
display-message OPTION
Display a message.
--text=STRING
The message text
hide-message OPTION
Hide a message.
--text=STRING
The message text
watch-keystroke OPTION
Become sensitive to a keystroke.
--command=STRING
Command to send keystroke to via standard input
--keys=STRING
Keys to become sensitive to
ignore-keystroke OPTION
Remove sensitivity to a keystroke.
--keys=STRING
Keys to remove sensitivitiy from
pause-progress
Pause boot progress bar.
unpause-progress
Unpause boot progress bar.
report-error
Tell plymouthd there were errors during boot.
deactivate
Tell plymouthd to deactivate.
reactivate
Tell plymouthd to reactivate.
quit OPTION
Tell plymouthd to quit.
--retain-splash
Don't explicitly hide boot splash on exit
SEE ALSO
grub(8), plymouth(8), plymouthd(8), http://www.freedesktop.org/wiki/Software/Plymouth
plymouth PLYMOUTH(1)