02-23-2005
Thanks for the quick pointer. I will look into it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a log file that has the date in this format "2006-05-30_13:14:04,256". I need to find the time difference between two log entries in milliseconds.
How to achieve this in AWK/GAWK script? :confused: (2 Replies)
Discussion started by: omprasad
2 Replies
2. HP-UX
Hi,
I am loking for a c++ function that calculate CPU time under HP-UX
Thank you (1 Reply)
Discussion started by: limame
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have problem like everyday i have to check which process consuming more cpu time. I have done it manually using top command..
Is there any script which will tell the exact process name which will consuming more time. I am using hpux. (1 Reply)
Discussion started by: rajesh08
1 Replies
4. Shell Programming and Scripting
I thought a program's elapsed time, some program language call it real time, should be the time of a program from start to finish. And it should be equal or longer than CPU time. This is true for the most of the cases. However, I do see some of my programs CPU time is longer than Elapsed time. ... (1 Reply)
Discussion started by: visio2000
1 Replies
5. UNIX for Advanced & Expert Users
Hi ,
How can I get the last access time of a file upto the precesion of seconds in Unix.
I cannot use stat as this is not supported. (10 Replies)
Discussion started by: kanus
10 Replies
6. UNIX Desktop Questions & Answers
Hi i am a newbie thanks in advance
i have a process which keeps on running but doesn't use any CPU time and doesn't do the functionality which it is suppose to do .
If i kill the process and start the process again then the process kicks in and starts using CPU time and continues to do its... (3 Replies)
Discussion started by: nick1982
3 Replies
7. Solaris
We are using JAVA program and strange thing is it takes 100% CPU when not in use.
The program function is to stream a file on output port (one direction). It checks one directory and when there is a file in it, starts.
While it is streaming the CPU usage is normal, about 20%.
But, if... (9 Replies)
Discussion started by: orange47
9 Replies
8. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
If a thread running on CPU needs some data from RAM (from near or far RAM) it requests the data (this moment of time is t0) and gets it in moment of time in t1, and continues his work.
Between t0 and t1, while data is transferring from RAM, the thread is goes out from CPU? Is the... (2 Replies)
Discussion started by: sant
2 Replies
10. Linux
Hi All,
Am very new to Linux and unix ...need below help .
need to list of process consuming more than 40% cpu and which are older than 10 days of a particular user ....
Thanks
V (4 Replies)
Discussion started by: venky456
4 Replies
LEARN ABOUT ULTRIX
timedc
timedc(8) System Manager's Manual timedc(8)
Name
timedc - timed control program
Syntax
/usr/etc/timedc [ command [ argument ...]]
Description
The program controls the operation of the daemon. If you run without any arguments, enters interactive mode and displays the prompt.
If you supply a command on the command line, runs the command and then exits. If you redirect the standard input of from an interactive
terminal to a file, interprets the contents of the file as a list of commands separated by carriage returns and terminated with an EOF
character.
Commands
?[command...]
help[command...] Prints a short description of each command specified in the argument list. If no arguments are given, a list of the
recognized commands is printed.
clockdiff[host...] Computes the differences between the clock of the host machine and the clocks of the machines given as arguments.
trace[ on | off ] Enables or disables the logging of incoming messages to The command logs messages in the file
[ incr | decr ] [ -cd ][minutes:][seconds.][microseconds]
Increments or decrements the value of the local clock so that the clock gains or loses the specified amount of time.
-c Adjusts the local clock continuously. Adjustments specified with the switch should be on the order of
microseconds, and are added or subtracted from the local clock in small stages. This type of adjustment
avoids large instantaneous jumps and guarantees that the graph of local clock time versus real time remains
continuous.
The following example increments the local clock continuously by 500 microseconds: /etc/timedc incr -c 500
-d Adjusts the local clock instantaneously. Adjustments specified with the switch should be on the order of
seconds, and are added or subtracted from the local clock at once. The graph of local clock time versus real
time is discontinuous.
The following example decrements the local clock discontinuously by five minutes and two seconds: /etc/timedc
decr -d 5:2
msite Indicates which site the master is running on currently.
quit Exits from the program.
Diagnostics
?Ambiguous command
Abbreviation matches more than one command.
?Invalid command
No match was found.
?Privileged command
Command can be executed by root only.
Files
Tracing file for
Log file for master
See Also
date(1), adjtime(2), settimeofday(2), timed(8)
timedc(8)