Operating System - HP-UX
1825771 Members
2147 Online
109687 Solutions
New Discussion

defunc processes in hpux11.0

 
vaman
Frequent Advisor

defunc processes in hpux11.0

How to identify the Defunc processes in system, to improve the performance, memory utilisation, load average
vaman kulkarni
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: defunc processes in hpux11.0

Usually they're clearly lableled as such. Do a "ps -ef |grep defunct" and you'll see them if you have any.


Pete

Pete
bhoopathi_1
Frequent Advisor

Re: defunc processes in hpux11.0

Hi,

Most of the defunct process will be running with the same name "defunct". There are also few process with PPID 1. Try doing a trace for these process, and if you find they are not doing anything, they can also be considered defunct. Also check out the top output. Check if there are any process running on top that have gone into a loop. Clearing these process would improve the performance.
mhzzang
Occasional Contributor

Re: defunc processes in hpux11.0

you have to below commands
# ps -elf
if status('s) field is shown'Z' S(status)
that is zombie process.
also
# ps -ef
you will see 'defunct' syntax
Scott Frye_1
Super Advisor

Re: defunc processes in hpux11.0

I use a simple script:
ps -ef | grep defunct | grep -v grep

This will give you any defunct processes.
HGN
Honored Contributor

Re: defunc processes in hpux11.0

Hi

The defunct process can be seen when u do a ps -ef command
#ps -ef |grep -i defunct

You can see if there are any.

Rgds

HGN