AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-28-2007, 08:00 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2007
Posts: 13
Rep:
|
kill idle users
Hi, I'm using AIX 5 and we have many users accesing by internet but the problem is that they use an emulator named anita wich disconnects in the client but somehow it doesn't in the server, i want to make a script to kill all user idle for more than half an hour, but i'm more a linux user than AIX, any light about it will be welcome.
|
|
|
|
02-28-2007, 11:02 AM
|
#2
|
|
Member
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193
Rep:
|
Update /etc/environment and add a line that reads:
TMOUT=1800
That will time out the shell for an idle user after 30 minutes. That should help with the problem going forward. Killing current idle users will take some more research and testing.
|
|
|
|
03-15-2007, 10:40 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2007
Posts: 13
Original Poster
Rep:
|
Well, I'm afraid that didn't work out, I use who -u to list processes, then I kill -9 the processes that have been idle for more than an hour, will that be of any help?
|
|
|
|
05-06-2007, 02:35 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2006
Posts: 2
Rep:
|
Dude,
You need to put the same entry into the file /etc/profile, not /etc/environment and your problem should get resolved.
Atul
|
|
|
|
05-07-2007, 09:17 AM
|
#5
|
|
Member
Registered: Mar 2007
Distribution: Whatever Works
Posts: 44
Rep:
|
Hey Xyrer, what level of AIX 5 are you using? I know I had the same problem with a Forms appliction we were running. We were running AIX 5.3 ML3 with the CSP. I contacted IBM support and they said it was a known problem and it would be fixed with the next TL. When I upgraded to TL4 with the CSP it went away.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|