12-03-2001
The timeout depends on your kernel. There is an RFC standard which specifies the maximum TIME_WAIT as (I believe) 4 minutes. Note that is a maximum, most times it will be much less than that. The most I have seen under Linux is 2 minutes. YMMV depending on the vendor.
10 More Discussions You Might Find Interesting
1. Cybersecurity
!HELLO ,
What is the maximum number of hosts on a TCP/IP internet?
plz can u help me.
:rolleyes: (2 Replies)
Discussion started by: smdakram
2 Replies
2. UNIX for Advanced & Expert Users
I installed tcp wrappers version 7.6
and
modify my inetd.conf file from
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd
to
ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l
created /etc/hosts.allow file
and
modify it... (19 Replies)
Discussion started by: hassan2
19 Replies
3. IP Networking
Here's my config: One quadra 840av working under netBSD and successfully connected to my network. One PM 6100 connected but not booting fully into netBSD (i realize this is faulty but I figured it was worth a shot to try and install netBSD/mac68k on it due to the fact it is unsupported under the... (1 Reply)
Discussion started by: Yummator
1 Replies
4. UNIX for Dummies Questions & Answers
ok here is a little bit on what I am trying to do. I am logged into a saolaris 9 server and telnet to another server to run an application that sits on the second unix / linux server. This application can sit idle for an hour to two and any given time. During this time the telnet session timesout... (4 Replies)
Discussion started by: Acleoma
4 Replies
5. IP Networking
I have written a TCP/IP client and server program. The client sends a message to the server and then the server sends a file back to the client. The client reads the buffer and stores it another file in the client side.
I need to know what are the various exceptions that I need to handle in... (0 Replies)
Discussion started by: Rajeshsu
0 Replies
6. Solaris
hi expert,
hi all very need help please advice, i have v890 production server (gateway server) which running on telecommunication application (e.g USSD application) on this few month i have a problem with the connection to application server, for 2 - 3 hours the connection always down and cannot... (0 Replies)
Discussion started by: bucci
0 Replies
7. SCO
Hello!
I tried to install an old version of SCO for test purposes, (3.2v4.0y), all fine,
but my TCP/IP disks are "unreadable" and I cant find them on the internetz.
Also, SCO doesnt respond to my request....is there any source for those images
available? I have license/activation key which... (5 Replies)
Discussion started by: doc_holiday
5 Replies
8. IP Networking
Hello all,
Can somebody please tell what is the best book out there that can help me learn TCP troubleshooting and understaning the TCP options like window scaling, large receive offload? I would like to understand how all the TCP tuning parameters function. Is there a book out there that can... (4 Replies)
Discussion started by: Pouchie1
4 Replies
9. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
10. Shell Programming and Scripting
Hey Guys,
My problem:
I have a script that will be querying the database every minute to see if it gets a response, the response its querying for is "UP" in a table i made called dbup in the database.
Now, I am trying to add the component to implement a timeout if the script does not get a... (2 Replies)
Discussion started by: mo_VERTICASQL
2 Replies
CLOCK(3) Linux Programmer's Manual CLOCK(3)
NAME
clock - determine processor time
SYNOPSIS
#include <time.h>
clock_t clock(void);
DESCRIPTION
The clock() function returns an approximation of processor time used by the program.
RETURN VALUE
The value returned is the CPU time used so far as a clock_t; to get the number of seconds used, divide by CLOCKS_PER_SEC. If the processor
time used is not available or its value cannot be represented, the function returns the value (clock_t) -1.
CONFORMING TO
C89, C99, POSIX.1-2001. POSIX requires that CLOCKS_PER_SEC equals 1000000 independent of the actual resolution.
NOTES
The C standard allows for arbitrary values at the start of the program; subtract the value returned from a call to clock() at the start of
the program to get maximum portability.
Note that the time can wrap around. On a 32-bit system where CLOCKS_PER_SEC equals 1000000 this function will return the same value
approximately every 72 minutes.
On several other implementations, the value returned by clock() also includes the times of any children whose status has been collected via
wait(2) (or another wait-type call). Linux does not include the times of waited-for children in the value returned by clock(). The
times(2) function, which explicitly returns (separate) information about the caller and its children, may be preferable.
SEE ALSO
clock_gettime(2), getrusage(2), times(2)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2008-08-28 CLOCK(3)