Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #381
Difficulty: Medium
Solaris 9 is registered as UNIX 03 compliant on 32-bit and 64-bit x86 (X86-64) and SPARC systems
True or False?
Linux & Unix Commands - Search Man Pages

dtime(3f) [bsd man page]

ETIME(3F)																 ETIME(3F)

NAME
etime, dtime - return elapsed execution time SYNOPSIS
function etime (tarray) real tarray(2) function dtime (tarray) real tarray(2) DESCRIPTION
These two routines return elapsed runtime in seconds for the calling process. Dtime returns the elapsed time since the last call to dtime, or the start of execution on the first call. The argument array returns user time in the first element and system time in the second element. The function value is the sum of user and system time. The resolution of all timing is 1/HZ sec. where HZ is currently 60. FILES
/usr/lib/libU77.a SEE ALSO
times(2) 4.2 Berkeley Distribution May 15, 1985 ETIME(3F)

Check Out this Related Man Page

TIME(3F)																  TIME(3F)

NAME
time, ctime, ltime, gmtime - return system time SYNOPSIS
integer function time() character*(*) function ctime (stime) integer stime subroutine ltime (stime, tarray) integer stime, tarray(9) subroutine gmtime (stime, tarray) integer stime, tarray(9) DESCRIPTION
Time returns the time since 00:00:00 GMT, Jan. 1, 1970, measured in seconds. This is the value of the UNIX system clock. Ctime converts a system time to a 24 character ASCII string. The format is described under ctime(3). No 'newline' or NULL will be included. Ltime and gmtime disect a UNIX time into month, day, etc., either for the local time zone or as GMT. The order and meaning of each element returned in tarray is described under ctime(3). FILES
/usr/lib/libU77.a SEE ALSO
ctime(3), itime(3F), idate(3F), fdate(3F) 4.2 Berkeley Distribution May 15, 1985 TIME(3F)

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

modify actime and modtime of symbolic links

Hi, I am trying to duplicate a symbolic link, the new link should be the exact replica of the original one, with same file attributes, permissions, owner, group and even the time. i m successful in changing the owner and group, but when i try to change the time using utime, the time of the... (3 Replies)
Discussion started by: avanigadhai
3 Replies

2. Shell Programming and Scripting

HowTo: reg expr doing grep "timestamp>$DesiredTime" logfile ?

I know I asked a similar question but I want to know if there is a regular expression existing that with a korn shell cmd, finds any timestamp data records in a file where it is greater then a timestamp in a shell variable ? something like : grep all records where it has a timestamp >... (5 Replies)
Discussion started by: Browser_ice
5 Replies

3. Programming

SO_SNDTIMEO in setsockopt() doesn't work in send()

I create a program that need a timeout on both send() and recv() function, but I found that SO_SNDTIMEO doesn't work but SO_RCVTIMEO works!! int sock; int bytesRcvd, totalBytesRcvd = 0; struct sockaddr_in servAddr; struct timeval tv; int rx = 0; int tx... (1 Reply)
Discussion started by: sehang
1 Replies

4. UNIX for Advanced & Expert Users

Xt timer call, XtAppAddTimeout, hangs on system clock jump backwards

Hi, I've got an issue which I've been 'google-fu'ing without much luck. We have a legacy program which has been plagued by an issue for a long time and I've been tasked to investigate/fix. The program uses XMotif2.1 (required due to dependency on an old GUI designer) and runs on a RHEL7... (4 Replies)
Discussion started by: altrefrain
4 Replies

Featured Tech Videos