- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: multiple sessions
Operating System - Linux
1752798
Members
5964
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-21-2008 03:15 AM
тАО09-21-2008 03:15 AM
multiple sessions
Hi Experts,
i have got many users logging in on my server and working with different applications remotely. Almost all of them disconnect and do not log off, resulting in many processes left hanging in the system. when i do a who -u i can see many sessions with same user id that are 2-3 days old and still there. how can i terminate these sessions without harming the current session of same user? plz help
i have got many users logging in on my server and working with different applications remotely. Almost all of them disconnect and do not log off, resulting in many processes left hanging in the system. when i do a who -u i can see many sessions with same user id that are 2-3 days old and still there. how can i terminate these sessions without harming the current session of same user? plz help
Evil Has Its Winning Ways
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 05:46 AM
тАО09-21-2008 05:46 AM
Re: multiple sessions
You should create a script that runs via cron that uses the "w" command to identify who is IDLE by a certain amount of time and kill the process.
Some samples here:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1222004754325+28353475&threadId=602197
Some samples here:
http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1222004754325+28353475&threadId=602197
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2008 02:58 PM
тАО09-21-2008 02:58 PM
Re: multiple sessions
Thanks for the reply Ivan, but i am totally new to Linux, and this cron and scripting is French to me. Thats why i wanted a simple command in which i can do something like kill user56 /pts4.....
anyhow thanks again
anyhow thanks again
Evil Has Its Winning Ways
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP