- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dead 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
11-06-2002 06:10 PM
11-06-2002 06:10 PM
Dead process
There is a script specially written by my ex-colleague for operations
team to check our server/jobs via menu-driven style. Somehow this
generates lots of dead processes although the user has logged of from
the system. Below is the sample.
penoasisd1o20:root> ps -ef|grep sysoper
sysoper 2893 22062 0 08:07:24 pts/20 0:00 /usr/bin/sh
/usr/bin/clear
sysoper 14534 14482 1 Dec 28 pts/17 127:14 -rksh
sysoper 9498 23001 1 Dec 26 pts/13 210:00 -rksh
sysoper 2869 15733 0 08:07:24 pts/15 0:00 tr [a-z] [A-Z]
sysoper 8795 2913 1 Dec 20 pts/5 586:20 -rksh
sysoper 10421 10293 0 Dec 22 pts/8 0:00 -rksh
sysoper 2914 2908 0 08:07:24 pts/17 0:00 /usr/bin/sh
/usr/bin/clear
sysoper 29044 28989 1 Dec 30 pts/16 77:30 -rksh
sysoper 2901 14702 0 08:07:24 pts/8 0:00 -rksh
sysoper 2922 2918 0 0:00
sysoper 2919 2915 0 0:00
This affects my alert email job which I schedule to send on regular
basis. I will not receive any email. However I notice that when I kill
those dead processes, I immediately receive the emails. I wonder
anyone there has any similar experience on this.
Also, pls share with me a script to auto kill this dead process, eg
kill -9 2893 14534 9498 ....
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:28 PM
11-06-2002 06:28 PM
Re: Dead process
Does anyone has existing script for me to reference? thx. the send email function can be ignore, if it can kill the dead processes is OK. thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:31 PM
11-06-2002 06:31 PM
Re: Dead process
I am fairly sure that the script your using is perhaps not good and does not do the job it was intended to do.
At a guess (because I don't know exactly what your script does) it is waiting for something to happen. Once one of the processes dies (you killing it) it proceeds and sends the email.
There are a number of ways to to implement automatic kill scripts, however unless we know exactly what you want to kill, it is a little hard to advise. Do you log in as this "sysoper" user?
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 06:54 PM
11-06-2002 06:54 PM
Re: Dead process
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 08:08 PM
11-06-2002 08:08 PM
Re: Dead process
I didn't find any suitable for me.
does anyone has sample script? thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2002 01:55 AM
11-07-2002 01:55 AM
Re: Dead process
if you always have the same user you can change my script for this. But if you have different users the link of Michael is the best solution for your problem. Here you would find several programs for that.
Volkmar