07-27-2006
There is a parameter in the sshd_config file that you can set.
HTML Code:
LoginGraceTime 60 # the connection will timeout in a minute if no reply from client
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi guys..
i have a shell script that loops through a certain directory to see if a file has been created and then prints the file if it exists...
the only problem i have now is that sometimes the flat does not get created by the program thats supposed to create it, in this scenario, my loop... (1 Reply)
Discussion started by: wolkott
1 Replies
2. UNIX for Advanced & Expert Users
having problems using scp in that during peak hours it appears to time out.
anyone have similar experiences? any thoughts regarding a solution... (1 Reply)
Discussion started by: jph
1 Replies
3. AIX
Hello everyone,
I have a script thats acting funky, what I would like to do is report to a file, how long its taking to get to certain area's, in seconds. For example.
-- Start timer
-- Run unix command 1
-- Run unix command 2
-- Stop timer
-- Report Seconds
-- etc etc
Is there a way... (3 Replies)
Discussion started by: dbridle
3 Replies
4. Programming
hi everyone. If you have a function created in your code and you want to find out how long it takes for it to run you can use a struct called gettimeofday().
so lets say we have a function like this
int myfunction (int r)
{
/*some math calculations*/
return answer;
}
How do i set up... (3 Replies)
Discussion started by: bebop1111116
3 Replies
5. Programming
Hello there, I just needed to know how to get the timing right when using the gcc __builtin_prefetch() function, that is, how many instructions before the actual utilization of the data should I make the prefetch call.
I will be measuring the L1 cache hit rate with valgrind's cachegrind,... (3 Replies)
Discussion started by: Tavo
3 Replies
6. Programming
I was running some timings in my code to see which of several functions was the best and I've been getting some odd results. Here's the code I'm using:
static double time_loop(int (*foo)(int)) {
clock_t start, end;
int n = 0, i = 0;
start = clock();
for (; i <= MAXN; i++)
if... (6 Replies)
Discussion started by: CRGreathouse
6 Replies
7. Shell Programming and Scripting
i have a very big script i have that i'd like to add a timeout to.
this script runs on a several remote host. i update this script with timeout clause and then copy it over to all the hosts on which it is currently on.
basically, i want the timeout to make the script abort/exit if it's... (1 Reply)
Discussion started by: SkySmart
1 Replies
8. Shell Programming and Scripting
I have two shell scripts, one written with xargs for parallel processing (p1) and the other written in old school way (p3) .
when I execute them, i get the below values.
$ time ./p1
real 0m25.36s
user 0m0.32s
sys 0m0.80s
$ time ./p3
real 0m23.25s
user 0m6.20s
sys ... (4 Replies)
Discussion started by: luhah
4 Replies
9. Red Hat
-> We have 2 servers server1 and server2 server.
->server1 is master application and server2 is slave application server. ->output of server1 hardware and slave timing:
# hwclock --show Thu 05 Jun 2014 05:34:08 PM SGT -0.465666 seconds # date Thu Jun 5 17:34:16 SGT 2014
# cd... (6 Replies)
Discussion started by: manjusharma128
6 Replies
10. Programming
I have noticed the difference in byte swap timing between two Ubuntu systems. The bswap_32 used to work just fine on the old system, but on the new one it lags behind home-grown swap.
My code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <byteswap.h>
#include... (4 Replies)
Discussion started by: migurus
4 Replies
AXCTL(8) Linux System Managers Manual AXCTL(8)
NAME
axctl - Configure/Kill running AX.25 connections.
SYNOPSIS
axctl [-v] port dest src window|t1|t2|t3|n2|idle|paclen|kill [parm]
DESCRIPTION
The axctl command is designed to be a multi-function command that allows miscellaneous commands to be issued to the Linux AX.25 protocol
layer for existing AX.25 connections. The connection is uniquely identified via the combination of port, destination callsign and source
callsign, with that information the kernel is able to change the parameters, or abort the connection.
Many of the options are similar to those found in axparms and perform the same function. Only one parameter may be changed on each invoka-
tion of axctl.
OPTIONS
-v Displays the version number.
window window Sets the window size for the AX.25 connection.
t1 t1-timeout Sets the initial T1 timeout value for the AX.25 connection, the value is given in seconds.
t2 t2-timeout Sets the T2 timeout value for the AX.25 connection, the value is given in seconds.
t3 t3-timeout Sets the T3 timeout value for the AX.25 connected, the value is given in seconds.
n2 n2-count Sets the maximum number of tries for the AX.25 connection.
idle idle-timeout Sets the value for the idle timer for the AX.25 connection, the value is in minutes.
paclen paclength Sets the maximum packet length that may be transmitted on the AX.25 connection.
kill Will abort an existing AX.25 connection.
FILES
/etc/ax25/axports
SEE ALSO
call(1), getsockopt(2), setsockopt(2), ax25(4), axparms(8), axports(5).
AUTHORS
Joerg Reuter DL1BKE <jreuter@poboxes.com>
Linux 2 August 1996 AXCTL(8)