03-31-2011
Capture running process for 2 hours with an interval of 10 sec
Hi,
Can any one help me on this.
How to capture the running process for two hours with an interval of 10 sec.
Thanks in andvance
Moderator's Comments:
|
|
Double post, continued here, thread closed
|
|
Last edited by pludi; 03-31-2011 at 03:32 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
How do I start a background process and save the process id to a file on my system. For example %wait 5 & will execute and print the process id. I can't figure out how to get it to a file. I've tried: > filename 0>filename 1>filename.
Any assistance is most appreciated.
Thanks,
Jim... (10 Replies)
Discussion started by: jleavitt
10 Replies
2. UNIX for Advanced & Expert Users
hi all
I process is sleeping after 12 hours but i need to be run this to 24 hours but it goes in sleep mode after 12 hours what should i do to make process always running.Kindly give me suggestion. (0 Replies)
Discussion started by: mukesh_rakesh1
0 Replies
3. Shell Programming and Scripting
I want to add these no. these are in the format of
days:hours:minutes:sec
I want result in this format only
0:00:04:59
0:00:00:12
0:00:00:28
0:00:00:03
0:01:29:35
0:00:00:19
0:01:05:21
Is any body ca help me?????
To get This..
Thanks
Nishant (1 Reply)
Discussion started by: krishna_sicsr
1 Replies
4. Solaris
I ran the Oracle 9i export command from a terminal to export out a big table using "exp andrew/password file=andrew.dmp log=andrew.log"
From the terminal I can see that the export is running as there is some output from the oracle export job. The export job is not complete yet. When i go check... (4 Replies)
Discussion started by: hippo2020
4 Replies
5. Shell Programming and Scripting
Hi,
Can any one help me on this.
How to capture the running process for two hours with an interval of 10 sec.
Thanks in andvance (1 Reply)
Discussion started by: sarathkumar
1 Replies
6. Shell Programming and Scripting
Hi,
How can i capture the running process for 2 hours.
Thanks in advance.:b: (1 Reply)
Discussion started by: sarathkumar
1 Replies
7. Shell Programming and Scripting
How can I print ONLY processes running for more than 24 hours. Using ps command or any other method
I use this to get a whole list.
ps -eo pid,pcpu,pmem,user,args,etime,cmd --sort=start_time
We can also sort the outout of the above command to list processes older than 24 hours using... (9 Replies)
Discussion started by: anil510
9 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
new to the forum and new to Unix but I have an issue which is annoying on a new level. I have included a short and full version for anyone needing more information.
Short Version
I am running a set of scripts that work and run fine. one of the scripts arranges the first... (4 Replies)
Discussion started by: Delboy4000
4 Replies
9. Shell Programming and Scripting
I have unix epoch time 1441678454803, Can you please help me to print this time in below format ?
DAY,HOUR,MIN,SEC
Appreciate your help!!!
Thanks,
Prince (7 Replies)
Discussion started by: prince1987
7 Replies
10. UNIX for Beginners Questions & Answers
Hi,
Is it possible to display processes which have been running for more than a 5hrs using a variation of the ps -ef command?
Regards,
Manny (5 Replies)
Discussion started by: mantas44
5 Replies
LEARN ABOUT DEBIAN
shevek_relative_time
shevek::relative_time(3) Library Functions Manual shevek::relative_time(3)
NAME
shevek::relative_time -
Time interval.
SYNOPSIS
#include <time.hh>
Public Member Functions
relative_time ()
The default constructor creates an interval of 0.
relative_time (timetype days, int hours, int minutes, int seconds, int nanoseconds=0)
Construct an interval of a given size.
relative_time (timetype seconds, unsigned nanoseconds)
Fast constructor.
relative_time operator+ (relative_time that) const
Add two intervals.
absolute_time operator+ (absolute_time that) const
Add an interval to a moment.
relative_time operator- (relative_time that) const
Subtract two intervals.
relative_time operator- () const
Negate an interval.
relative_time operator* (float c) const
Scale an interval.
relative_time operator/ (float c) const
Scale an interval.
relative_time operator% (relative_time that) const
Modulo operator for two intervals.
double operator/ (relative_time that) const
Division of two intervals.
relative_time & operator+= (relative_time that)
Add an interval.
relative_time & operator-= (relative_time that)
Subtract an interval.
relative_time & operator*= (float c)
Scale the interval.
relative_time & operator/= (float c)
Scale the interval.
relative_time & operator%= (relative_time that)
Modulo.
bool operator< (relative_time that) const
Compare with another interval.
bool operator> (relative_time that) const
Compare with another interval.
bool operator<= (relative_time that) const
Compare with another interval.
bool operator>= (relative_time that) const
Compare with another interval.
bool operator== (relative_time that) const
bool operator!= (relative_time that) const
unsigned nanoseconds () const
Number of nanoseconds.
unsigned seconds () const
Number of seconds.
unsigned minutes () const
Number of minutes.
unsigned hours () const
Number of hours.
unsigned days () const
Number of days.
bool isnegative () const
Is this a negative interval?
timetype total () const
Total number of seconds, as encoded.
Static Public Member Functions
static void set_digits (unsigned num)
Set number of digits to use when printing (for fractions of seconds).
static unsigned get_digits ()
Get the number of digits that is used when printing.
Friends
std::ostream & operator<< (std::ostream &s, relative_time t)
Write the interval to a std::ostream.
Detailed Description
Time interval.
Constructor & Destructor Documentation
shevek::relative_time::relative_time (timetypeseconds, unsignednanoseconds)
Fast constructor. This directly fills the members and is therefore slightly faster than the other constructors. However, the others aren't
really slow either.
Member Function Documentation
bool shevek::relative_time::operator!= (relative_timethat) const Compare two intervals. Note that this is rarely a useful operation, because
minor errors may be introduced by computations.
bool shevek::relative_time::operator== (relative_timethat) const Compare two intervals. Note that this is rarely a useful operation, because
minor errors may be introduced by computations.
Author
Generated automatically by Doxygen for libshevek from the source code.
libshevek Fri May 11 2012 shevek::relative_time(3)