- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Killing the idle HP Unix Process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:22 AM
09-14-2006 02:22 AM
Killing the idle HP Unix Process
Please inform me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:26 AM
09-14-2006 02:26 AM
Re: Killing the idle HP Unix Process
If a process is idle, then it is consuming very little/no CPU, thus is not too much of a problem (or resource hog). You really should be looking for greedy processes, or zombie processes.
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:28 AM
09-14-2006 02:28 AM
Re: Killing the idle HP Unix Process
If you mean a user's login shell, then you can set the 'TMOUT' variable to a non-zero value of seconds. The passage of this number of seconds from the last 'PS1' shell prompt will result in termination.
Set the TMOUT variable in the user's login profile.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:28 AM
09-14-2006 02:28 AM
Re: Killing the idle HP Unix Process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:44 AM
09-14-2006 02:44 AM
Re: Killing the idle HP Unix Process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2006 02:59 AM
09-14-2006 02:59 AM
Re: Killing the idle HP Unix Process
1. Is the process a parent to a running process? Killing the parent will likely kill the child too.
2. How do I know the process is idle? A network daemon or other program waiting on a remote event may appear to be idle for a long time.
3. Do other porcesses depend on the process I am going to kill?
These are decisions that are quite difficult to make with a script. You repair processes that are deadlocked (rewrite the code so it works properly) and define exactly what processes are really idle. Or you eliminate logins for inexperienced users and give them a menu that handles idle time by exiting.
Bill Hassell, sysadmin