- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- identifying defunc/unwanted processes
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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
06-01-2001 07:18 AM
06-01-2001 07:18 AM
identifying defunc/unwanted processes
Recently I have come across processes that show ? in tty col of TOP. These processes doesnt belong to
root. These are shown against other logins. Does it
means that this processes have become defunc.
Is it OK to kill such processes as some times it shows in first row of TOP.
What does these ? marks denotes ???
Can someone shed some light on this ?
thanking in advance
Prosanjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 07:24 AM
06-01-2001 07:24 AM
Re: identifying defunc/unwanted processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 12:19 PM
06-01-2001 12:19 PM
Re: identifying defunc/unwanted processes
I too have this problem on my 11.0 system. On my HP-UX 10.2 system, there were no ?. After talking to the response center, the basic answer I got was that there is nothing wrong with it. They told me that the processes either didn't have a tty, or it was actually unknown by the system. Strange, huh?
Most of the processes I have running right now have the ? in the tty column. It doesn't appear to hurt anything. These processes (at least on my system) are NOT defunct! If there is a problem with the process it will show it in the State column (ie, zombie).
I'm not sure what the difference between a defunct process and a zombie are, but you can see defunct processes with a "ps -ef | grep defunct"
Also, if you do have zombies, you don't necessarily have to reboot. I have an oracle database running on my system, and it occasionally creates zombies when the concurrent managers are not shut down properly. All I have to do is restart the concurrent managers and it clears out all the zombies.
I'm definately not expert, but I hope this information helps.
Jared
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2001 05:18 AM
06-02-2001 05:18 AM
Re: identifying defunc/unwanted processes
today I had two processes which were utilising 90 % of the %CPU and %WCPU. I checked up with the programmer who confirmed that it was unusual as the said programs used to get over within 10 mins and are very short shells.
We looked up everything but was unable to find anything wrong. ps -el of the process id showed it to be running.
As the processes where eating up all resources I had to kill the process.
Is there any place where I can get details as to what should be done in such cases ?
Prosanjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2001 06:39 AM
06-02-2001 06:39 AM
Re: identifying defunc/unwanted processes
If you have what appears to be runaway processes, you must try to identify what they are doing and where they came from.
I use a small script that touches a file in my sysadmin dir then sends results of a system search to it. This allows me to run this script which is far quicker that me typing the commands, cat the file and decide weather or not it is a runaway and where and who created it.
file format is:-
touch /sysadmin/runner
top -d 3 >> /sysadmin/runner
ps -ef >> /sysadmin/runner
who -u >> /sysadmin/runner
who -TDpd >> /sysadmin/runner
Add what ever elso you might need to know.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2001 06:47 AM
06-02-2001 06:47 AM
Re: identifying defunc/unwanted processes
Sorry line:-
who -TDpd >> /sysadmin/runner
should read:-
who -THpd >> /sysadmin/runner
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2001 01:02 PM
06-03-2001 01:02 PM
Re: identifying defunc/unwanted processes
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 12:43 AM
06-04-2001 12:43 AM
Re: identifying defunc/unwanted processes
I ran your script and got a big output, but again how do I identify which process is a runaway process. Also how do you kill the dead processes.
My users dont use Xwindows.
Thanks
Prosanjit