05-27-2003
Progress reporting
Hi everyone, I'm completely new to the board and to UNIX and I have the following question regarding a script I am building.
I am trying to copy an entire directory into a new directory and I was wondering if there is any way of printing on screen a progress report, for example a percentage. It doesn't HAVE to be a percentage, but something to that effect (like a count-down) would also do nicely.
Does enyone know how to do this?
Thank you in advance
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have to do a lot of reporting for the company that I work for and was wondering if anyone had suggestions for a way to create professional looking reports. I currently use Filepro so much that I rarely see the shell. Any help is appreciated. (3 Replies)
Discussion started by: Mike11
3 Replies
2. Shell Programming and Scripting
Hi:-
I am working on an audit report that produces a monthly summary of account activity on a particular AIX host. I am struggling with su activity and failed logins as these tend to come back with more then a month's data.
Is there a easy way that these files can be rotated/cleaned out on a... (1 Reply)
Discussion started by: janet
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
First post, please bare with me.
I am currently using SNMP on Nagios to monitor Exim and all is running great with the exception to it picking up the date / time of the last Exim queue run.
What I am hoping to achieve is for SNMP / Nagios to correctly pickup the difference between the... (1 Reply)
Discussion started by: theblueproject
1 Replies
4. Solaris
I am running Solaris 10 in a sparc environment.
I have the sys crontab setup to use sar to gather data and report it.
My sys crontab entry looks like this:
0,5,10,15,20,25,30,35,40,45,50,55 * * * 0-6 /usr/lib/sa/sa1
20,40 8-17 * * 1-5 /usr/lib/sa/sa1
5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e... (2 Replies)
Discussion started by: RobSand
2 Replies
5. Shell Programming and Scripting
I need to accomplish the following task -
I have a number of accounts for a number of applications that i deploy on a unix server. There are a number of directories for each account in /prod/apps directory. eg. For an account Application1 I have /prod/apps/Application1_1 /prod/apps/Application1_2... (4 Replies)
Discussion started by: niranjandighe
4 Replies
6. Solaris
Hi,
I am hunting for a low cost Monitoring & Reporting Tool for the SUN Environment.
I have all and all SUN Environment with LDOMs, Zones.
The monitoring Tool
1. Hardware failure.
2. Disk space and failure.
3. LDOMS,Zones.
4. CPU,Memory Utilization.
5. ping,URL Monitors
6. Send... (4 Replies)
Discussion started by: menonk
4 Replies
7. SCO
Hi,
I am using SCO UNIX version 6.0.0 release 5. I am using du and df space to see the used space in the / partition. I am using du -k option to get count in 1024 k so that it directly makes kb. In dfspace I subtracted the used mb from total size mb which should be the used space and then... (40 Replies)
Discussion started by: dextergenious
40 Replies
8. UNIX for Advanced & Expert Users
Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)
Discussion started by: PPOWER55
1 Replies
9. AIX
Hi
A few days ago I attached an usb external disk to a server running AIX, then I removed it without typing any commands. Now, the server can't find the usb device and it keeps reporting the errors every 3 hours, like this
55479D40 0112080017 T H usbms0 ADDITIONAL INFORMATION... (2 Replies)
Discussion started by: bobochacha29
2 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)