10-12-2011
well with that format I print 0:00.00elapsed , asuming minutes:seconds.tenth of a second. I'd be interested in adding up all the seconds.tenths of seconds during the loop, then averaging by dividing on number of runs. supposed to run it 100 times, but my test code runs 5 for simplicity till I get it going.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can I check what kornshell version I am using at runtime from within a kornshell script? (3 Replies)
Discussion started by: qanda
3 Replies
2. Shell Programming and Scripting
Hi Folks...
I am using a ksh script to submit the at command to run a shell script for immediate execution. The shell script requries 1 parameter.
Command in the script is
at -m -f $EXE_DIR/process_server.sh $START_TIME $DB_NAME
where START_TIME=now and DB_NAME= tnsname of Oracle... (1 Reply)
Discussion started by: island360
1 Replies
3. AIX
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies
4. UNIX for Dummies Questions & Answers
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (3 Replies)
Discussion started by: aixjadoo
3 Replies
5. UNIX for Advanced & Expert Users
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies
6. Shell Programming and Scripting
hi I am new to shell programming.....my question is while running one of my shell program it stops in between to accept input from the user and proceeds furthur after giving input....I want to know whether I can set this input through some files so that the shell acript reads the input from the... (10 Replies)
Discussion started by: santy
10 Replies
7. Shell Programming and Scripting
Hi,
I am trying to capture runtime stats of a shell script (c shell). Are there system variables to call? Or should I create a date variable at the start of the script and at the end of the script? I am trying to capture the time if the script stops or ends with error.
Please help.
... (4 Replies)
Discussion started by: CKT_newbie88
4 Replies
8. Shell Programming and Scripting
so I've made a shell script that downloads 6 files in succession from a given url, then deletes them. Now I want to time the script, and the average time it uses by running it ~100 times. My problem is tho, how do I store the time it takes for each run through of the script? I know time writes to... (3 Replies)
Discussion started by: navlelo
3 Replies
9. Shell Programming and Scripting
HI Help,
I have a file which looks like below ---
Input file --->
1970113.00000 3460.00000 1.09516
1970116.00000 3791.00000 1.06350
1970120.00000 4120.00000 1.07588
1970115.00000 4450.00000 1.09591
1970116.00000 4780.00000 1.09965
1970120.00000 5109.00000 1.06733 ... (7 Replies)
Discussion started by: Indra2011
7 Replies
10. Shell Programming and Scripting
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
LEARN ABOUT DEBIAN
app::prove::state::result::test
App::Prove::State::Result::Test(3pm) User Contributed Perl Documentation App::Prove::State::Result::Test(3pm)
NAME
App::Prove::State::Result::Test - Individual test results.
VERSION
Version 3.25
DESCRIPTION
The "prove" command supports a "--state" option that instructs it to store persistent state across runs. This module encapsulates the
results for a single test.
SYNOPSIS
# Re-run failed tests
$ prove --state=fail,save -rbv
METHODS
Class Methods
"new"
Instance Methods
"name"
The name of the test. Usually a filename.
"elapsed"
The total elapsed times the test took to run, in seconds from the epoch..
"generation"
The number for the "generation" of the test run. The first generation is 1 (one) and subsequent generations are 2, 3, etc.
"last_pass_time"
The last time the test program passed, in seconds from the epoch.
Returns "undef" if the program has never passed.
"last_fail_time"
The last time the test suite failed, in seconds from the epoch.
Returns "undef" if the program has never failed.
"mtime"
Returns the mtime of the test, in seconds from the epoch.
"raw"
Returns a hashref of raw test data, suitable for serialization by YAML.
"result"
Currently, whether or not the test suite passed with no 'problems' (such as TODO passed).
"run_time"
The total time it took for the test to run, in seconds. If "Time::HiRes" is available, it will have finer granularity.
"num_todo"
The number of tests with TODO directives.
"sequence"
The order in which this test was run for the given test suite result.
"total_passes"
The number of times the test has passed.
"total_failures"
The number of times the test has failed.
"parser"
The underlying parser object. This is useful if you need the full information for the test program.
perl v5.14.2 2012-06-05 App::Prove::State::Result::Test(3pm)