LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2007, 11:04 AM   #1
bahama
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Defunct Process info?


I want to see the process info for a defunct process such as its data or actually what commands were run to make it a process (and defunct). Is there like a system-wide sniffer or process sniffer or something that can tell me more about this process?

Thank you.
 
Old 09-01-2007, 12:34 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Some valuable information may be obtained using commands ps and lsof. For example
Code:
ps -eO user -H   #or 
ps axjf
shows the process tree. The information here is highly customizable by the amount of options provided by ps. You can discover the parent-child processes relationship. If you have a defunct process, you can establish who is the parent and then the open files, by its Process ID:
Code:
lsof -p <PID>
Hope this will help a little.
 
Old 09-02-2007, 04:22 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
cat /proc/proc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to kill a defunct process guarriman Linux - Software 4 05-15-2009 11:09 AM
k3b defunct process on kubuntu with kernel 2.6.17-10-generic yoyar Linux - Software 0 12-19-2006 07:40 PM
how to tell exactly when a process went defunct beeblequix Linux - Enterprise 1 11-21-2005 11:49 PM
<defunct>ed process bratch Linux - Software 5 04-28-2005 04:55 PM
SYSLOG-NG <defunct> process icw_sec Linux - Software 0 04-26-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration