![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitoring Processes - Killing hung processes | ukndoit | UNIX for Advanced & Expert Users | 4 | 01-17-2008 04:30 AM |
| Killing idle users TIA | PapaBear | Shell Programming and Scripting | 2 | 01-14-2008 04:37 PM |
| script for killing idle users | jdel80 | Shell Programming and Scripting | 7 | 12-19-2005 04:42 PM |
| killing all processes for an user | krishan | SUN Solaris | 2 | 05-27-2005 10:38 AM |
| Killing Idle session | securhack | Security | 4 | 07-23-2001 09:46 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Killing idle user processes
I'm looking for some help, please!
I'm trying to kill any idle user processes over 40 Minutes. I have tried putting TMOUT=2400 within the users .profile However this does not seem to be working. We run aix 4.3.3 with ORACLE 7.3 The above works o.k. when the user is only within the unix environment. But if they are connected to oracle it doesn't. I would be grateful for any advice. Thanking all in advance ![]() |
|
||||
|
Uning the kill command with the signal of 9 is a dangerous way of terminating a process. The 9 signal is an absolute and unblockable form of termination. This means that if a process has, for example, multiple files open or has a database open, although the user may be gone, the files can remain open or the database left in an unstable condition.
If you must kill a process, use kill with signal 15 or without a signal. Using kill without a signal, it defaults to signal 15 anyway, which notifies the offending process to shut down. If the process is written correctly, it will close down transactions or any open files and exit cleanly. -mk |
|
|||||
|
Also, look at the idled program. It isn't being maintained anymore, but it may still work in your environment.
http://www.darkwing.com/idled/ |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|