Sponsored Content
Full Discussion: how to set timeout for aix?
Top Forums UNIX for Dummies Questions & Answers how to set timeout for aix? Post 17874 by killerserv on Wednesday 20th of March 2002 08:34:46 PM
Old 03-20-2002
What shell does your user running ?

try to edit the:
$HOME/.profile

and set the following

TMOUT=3200

*TMOUT=3200 will cause a log off after 20 minutes (3200 seconds) if no keyboard activity encountered OR no output is generated to the display AFTER the timeout period has expired. There is a 20 second pause before the shell is exited.
 

10 More Discussions You Might Find Interesting

1. Programming

How to set the timeout for the client

The scenerio is: 1. A server listens on a port number 2. If the server is down and the Client tries to connect 3. How to set the timeout for the client Detailed explaination: In a client server architecture over a TCP/IP, normally the server is started first which waits and listens for the... (1 Reply)
Discussion started by: shilpi_gup
1 Replies

2. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

3. Shell Programming and Scripting

how to set timeout?

When I run a script where the 1st parameter is ip address ftp -n -i -v $1 I hang here if the ip is wrong how to set a timeout something like if (20s not complete "ftp -n -i -v $1") then echo "error" fi Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies

4. UNIX for Dummies Questions & Answers

Is it possible to set a timeout for rpcinfo?

I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

5. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

6. AIX

Set timeout value for ssh session to HMC?

Friends, Could anyone let me know - how to set the timeout value for ssh session to HMC? My HMC version is -- V7R7.4.0. I'm sure the version doesn't have anything to do with it. Thanks, -- Souvik (2 Replies)
Discussion started by: thisissouvik
2 Replies

7. Red Hat

How to set the screensaver timeout on Red Hat?

How is it possible to set the screensaver timeout on red hat. For solaris I understand it is : for file in /usr/dt/config/*/sys.resources; do dir=`dirname $file | sed s/usr/etc/` mkdir -p $dir echo 'dtsession*saverTimeout: 10' >>$dir/sys.resources echo 'dtsession*lockTimeout: 10'... (0 Replies)
Discussion started by: alvinoo
0 Replies

8. Shell Programming and Scripting

How to set timeout for dev/tcp while checking hostname and port?

I have a command to check the status of hostname and port number, echo > /dev/tcp/hostname/80 echo $? 0 success case echo > /dev/tcp/hostname/809999 I got the output ------------------- connection timed out It took almost 4 minutes to time out,,, how can I set it to 10 seconds? my... (2 Replies)
Discussion started by: sam@sam
2 Replies

9. Linux

Is it possible to set timeout on Linux screen session

Hello friends, I work on Linux servers via SSH (putty) and run "screen" to preserve my sessions so I can attach/detach them at anytime I wish without losing the connectivity/process disruption which is working perfectly fine. As my team members also have root access to those servers, it is... (7 Replies)
Discussion started by: prvnrk
7 Replies

10. AIX

AIX ssh timeout

I have to make a command to work when connecting to AIX 7.1 (used by an internal software). I have a linux server L where the following command is runned ssh -t <aix-server-ip> ls For a <non-aix-server-ip> the command runs successfully. For AIX the terminal just gets blocked. ssh connection... (5 Replies)
Discussion started by: ufo
5 Replies
PMAILQ(8)																 PMAILQ(8)

NAME
pmailq - Postfix MAIL Queue manager SYNOPSIS
pmailq [OPTION]... [COMMAND] pmailq --help DESCRIPTION
pmailq parses the output of mailq command from postfix (ie: postqueue -p). It permits to perform some actions on a group of entries in queue (like removing or displaying them in a machine readable format). They are selected by applying filters (wildcards are allowed) on criterias like email address, error message from SMTP server, message size, mail status in queue. COMMANDS
Action to perform on selected entries. list (default command) Show a detailed listing of the selected entries. parse Show a listing of the selected entries in a machine readable format. del Delete (via postsuper -d) the selected entries. OPTIONS
-e PATTERN, --email=PATTERN Select entries in queue with email matching PATTERN (PATTERN accepts wildcards). -m PATTERN, --msg=PATTERN Select entries in queue with error message matching PATTERN (PATTERN accepts wildcards). -l SIZE, --size-lower=SIZE Select entries in queue with size lower than SIZE bytes. -u SIZE, --size-upper=SIZE Select entries in queue with size upper than SIZE bytes. -a Select 'active' entries in queue. -o Select 'on hold' entries in queue. --version Show program's version number and exit. -h, --help Show this help message and exit. EXAMPLES
Example 1: display all the entries in queue sent to an email address matching "*@example.com*" with a size between 3000 and 3200 bytes in a machine readable format: # pmailq -u 3000 -l 3200 -e "*@example.com" parse 7E75214643A4|Fri Aug 31|3154|1|0|edgar@example.com B0BDE146B640|Thu Aug 30|3199|1|0|paul@example.com B587E146B675|Wed Aug 29|3065|0|0|paul@example.com CF3C514656E4|Wed Aug 29|3161|0|0|abuse@example.com / / / queue id date size on hold (or not) active (or not) Example 2: remove all mails in queue not sent because of a connection time out: # pmailq -m "*connection*timed*out" del deleting 00CF514616D3 [OK] deleting 12D911461924 [OK] deleting 269EF1461CA9 [OK] deleting 288DF1461CA0 [OK] deleting 3B3901460F62 [OK] deleting 3AE58147019F [OK] SEE ALSO
postsuper(1) privileged queue operations, postqueue(1) mail queue control AUTHOR
Emmanuel Bouthenot <kolter@openics.org> COPYRIGHT AND LICENSE
Copyright 2007-2011 by Emmanuel Bouthenot <kolter@openics.org> This program is released under the "do What The Fuck you want to Public Licence" Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. 2011-01-05 PMAILQ(8)
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy