- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Zombie session monitoring and usage on one particu...
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
12-06-2004 03:00 AM
12-06-2004 03:00 AM
Zombie session monitoring and usage on one particular account
2) How I can find all the zombie session running on a machine? and what is the best way to prvent this from happening other then manually checking and killing them? Any particaular command syntax / script which I can put in a crobtab?
I appreciate your help in advance.
GS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 03:37 AM
12-06-2004 03:37 AM
Re: Zombie session monitoring and usage on one particular account
2) ps -ef|grep defunct|grep -v grep give you all zombie process.
For killing all these zombies:
for PROCESS in `ps -ef|grep defunct|grep -v grep |cut -d" " -f
do
kill $PROCESS
done
Problem: the number of PID column depend on the output of ps -ef command. It's 2 or 3.
Rgds
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 03:53 AM
12-06-2004 03:53 AM
Re: Zombie session monitoring and usage on one particular account
The real solution to your problem is to not create zombie's in the first place. A very common cause is improper termination of sessions especially when connected to PC client software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 03:53 AM
12-06-2004 03:53 AM
Re: Zombie session monitoring and usage on one particular account
last -R | grep username
For more detailed reporting you may want to make your system trusted and fine tune the audit reports and data collection to provide the details you desire.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2004 06:01 AM
12-06-2004 06:01 AM
Re: Zombie session monitoring and usage on one particular account
Regards,
GS