Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 02-28-2007, 09:00 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
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.
Old 02-28-2007, 12:02 PM   #2
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Update /etc/environment and add a line that reads:


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.
Old 03-15-2007, 11:40 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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?
Old 05-06-2007, 03:35 PM   #4
LQ Newbie
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0

You need to put the same entry into the file /etc/profile, not /etc/environment and your problem should get resolved.

Old 05-07-2007, 10:17 AM   #5
Registered: Mar 2007
Distribution: Whatever Works
Posts: 44

Rep: Reputation: 16
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.


idle, scripting, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attempted to kill idle task dasy2k1 Slackware 7 12-03-2005 07:55 PM
How to kill an idle user via the command line? goemon Linux - General 7 12-01-2005 07:01 PM
kernel panic : attempted to kill the idle task abirami Linux - Software 0 09-06-2004 04:56 AM
kill idle user ust Linux - Software 3 08-31-2004 03:19 PM
who idle user how to kill saavik Linux - Networking 1 03-04-2004 11:12 AM > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration