04-06-2011
Thanks for the tips,
I am now trying to capture the elapsed time into a variable in (C Shell). I would like to 'echo' the start time, end time and time elapsed - along with other variables and commands.
Please advise.
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. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Make a bash script that calculates average runtime for the first two scripts you made. The average should be... (17 Replies)
Discussion started by: navlelo
17 Replies
8. Shell Programming and Scripting
Hi All,
I am writing a UNIX shell script for the Database Operations and wanted to take the statistics i.e. How much time my script has taken to complete the operation.
I wanted to apply the logic say: In the beginning of the script I will store the value of current date and time in some... (5 Replies)
Discussion started by: ambarginni
5 Replies
9. Shell Programming and Scripting
Hello friends, I need a BIG help from UNIX collective intelligence:
I have a CSV file like this:
VALUE,TIMESTAMP,TEXT
1,Sun May 05 16:13:05 +0000 2013,"RT @gracecheree: Praying God sends me a really great man one day. Gotta trust in his timing.
0,Sun May 05 16:13:05 +0000 2013,@sendi__... (19 Replies)
Discussion started by: kraterions
19 Replies
10. UNIX for Advanced & Expert Users
I have a file size is around 24 G with 14 columns, delimiter with "|"
My requirement- can anyone provide me the fastest and best to get the below results
Number of records of the file
First column and second Column- Unique counts
Thanks for your time
Karti
------ Post updated at... (3 Replies)
Discussion started by: kartikirans
3 Replies
LEARN ABOUT DEBIAN
qwtsystemclock
QwtSystemClock(3) Qwt User's Guide QwtSystemClock(3)
NAME
QwtSystemClock -
QwtSystemClock provides high resolution clock time functions.
SYNOPSIS
#include <qwt_system_clock.h>
Public Member Functions
QwtSystemClock ()
virtual ~QwtSystemClock ()
bool isNull () const
void start ()
double restart ()
double elapsed () const
Static Public Member Functions
static double precision ()
Detailed Description
QwtSystemClock provides high resolution clock time functions.
Sometimes the resolution offered by QTime ( millisecond ) is not accurate enough for implementing time measurements ( f.e. sampling ).
QwtSystemClock offers a subset of the QTime functionality using higher resolution timers ( if possible ).
Precision and time intervals are multiples of milliseconds (ms).
Note:
The implementation uses high-resolution performance counter on Windows, mach_absolute_time() on the Mac or POSIX timers on other
systems. If none is available it falls back on QTimer.
Constructor & Destructor Documentation
QwtSystemClock::QwtSystemClock ()
Constructs a null clock object.
QwtSystemClock::~QwtSystemClock () [virtual]
Destructor.
Member Function Documentation
double QwtSystemClock::elapsed () const Returns:
Number of milliseconds that have elapsed since the last time start() or restart() was called or 0.0 for null clocks.
bool QwtSystemClock::isNull () const Returns:
true if the clock has never been started.
double QwtSystemClock::precision () [static] Returns:
Accuracy of the system clock in milliseconds.
double QwtSystemClock::restart () The start time to the current time and return the time, that is elapsed since the previous start time.
void QwtSystemClock::start () Sets the start time to the current time.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 6.0.0 Fri Apr 15 2011 QwtSystemClock(3)