11-24-2008
Move half a GB and time how long that took. Multiply that result by 200.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Does anybody knows how to estimate the duration of a certain process in UNIX?
I'm using Sun solaris system and I'm trying to extract some information from a binary file, but most of the time, the size of this binary file is quite huge hence it'll be great if I would be able to know and... (5 Replies)
Discussion started by: superHonda123
5 Replies
2. AIX
Is there a flag to send to sysback on the command line so it will return the estimated backup size and exit?
We're having issues with running to a second tape at a remote data center, and I want to alter the script to exit or add exclusions if the backup is over a certain size.
The other... (0 Replies)
Discussion started by: tommysalami
0 Replies
3. Shell Programming and Scripting
I wanna make a shell script that calculates the total time spent on copying a file.
Script will simply copy a file using cp command or maybe wget..
Which commands i can use to get the time details of a file?
thanks, (3 Replies)
Discussion started by: Mhnds
3 Replies
4. UNIX for Advanced & Expert Users
We are in a hosting environment.Everyday a FTP server on client side follows predefined schedules to get files from a file server on hosting side.
On the file server, the files are originally saved in /data folder; after the remote FTP server gets them, the files will be moved to /archive... (1 Reply)
Discussion started by: madmax123
1 Replies
5. Solaris
We are in a hosting environment.Everyday a FTP server on client side follows predefined schedules to get files from a file server on hosting side.
On the file server, the files are originally saved in /data folder; after the remote FTP server gets them, the files will be moved to /archive... (2 Replies)
Discussion started by: madmax123
2 Replies
6. AIX
Hi All,
I need to plan a downtime and need know how much time is required to take mksysb & rootvg on LTO4. Following are vg informations...
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 64 128 2 open/syncd N/A
hd8... (1 Reply)
Discussion started by: sraj142
1 Replies
7. Shell Programming and Scripting
This is the command we use to transfer the file to destination we ran this command from batch job. first time it hangs. when we cancel and ran it again it works in 5 sec. anyone come out without solution..?
ftp -n destinationftp << CMDEND
user user/passwd
lcd ${root}path
cd path
put... (1 Reply)
Discussion started by: shenthil76
1 Replies
8. Red Hat
1 TB of data needs to read through 4 I/O channesl, each channels supports - 100 MB/s, What is average time taken to read the data ?
Please give the formula for my understanding (2 Replies)
Discussion started by: Srini.rk1983
2 Replies
9. Shell Programming and Scripting
It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB.
scp user1@serverA:/opt/setup/cash.zip .
Output:
cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA
uname -a
SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies
LEARN ABOUT OSX
tk_messagebox
tk_messageBox(n) Tk Built-In Commands tk_messageBox(n)
__________________________________________________________________________________________________________________________________________________
NAME
tk_messageBox - pops up a message window and waits for user response.
SYNOPSIS
tk_messageBox ?option value ...?
_________________________________________________________________
DESCRIPTION
This procedure creates and displays a message window with an application-specified message, an icon and a set of buttons. Each of the but-
tons in the message window is identified by a unique symbolic name (see the -type options). After the message window is popped up, tk_mes-
sageBox waits for the user to select one of the buttons. Then it returns the symbolic name of the selected button.
The following option-value pairs are supported:
-default name
Name gives the symbolic name of the default button for this message window ( "ok", "cancel", and so on). See -type for a list of the
symbolic names. If this option is not specified, the first button in the dialog will be made the default.
-detail string
Specifies an auxiliary message to the main message given by the -message option. Where supported by the underlying OS, the message |
detail will be presented in a less emphasized font than the main message.
-icon iconImage
Specifies an icon to display. IconImage must be one of the following: error, info, question or warning. If this option is not speci-
fied, then the info icon will be displayed.
-message string
Specifies the message to display in this message box.
-parent window
Makes window the logical parent of the message box. The message box is displayed on top of its parent window.
-title titleString
Specifies a string to display as the title of the message box. The default value is an empty string.
-type predefinedType
Arranges for a predefined set of buttons to be displayed. The following values are possible for predefinedType:
abortretryignore Displays three buttons whose symbolic names are abort, retry and ignore.
ok Displays one button whose symbolic name is ok.
okcancel Displays two buttons whose symbolic names are ok and cancel.
retrycancel Displays two buttons whose symbolic names are retry and cancel.
yesno Displays two buttons whose symbolic names are yes and no.
yesnocancel Displays three buttons whose symbolic names are yes, no and cancel.
EXAMPLE
set answer [tk_messageBox -message "Really quit?"
-icon question -type yesno
-detail "Select "Yes" to make the application exit"]
switch -- $answer {
yes exit
no {tk_messageBox -message "I know you like this application!"
-type ok}
}
KEYWORDS
message box
Tk 4.2 tk_messageBox(n)