LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-10-2006, 07:50 AM   #1
hongxing
Member
 
Registered: Oct 2005
Posts: 73

Rep: Reputation: 15
how to get process status using pid?


I have known the process's pid, now I want to know whether the process
is an zombie process. how to using C/C++? is there any APIs to use ?

I am using SuSE Linux Enterprise Server 9, thanks!
 
Old 04-11-2006, 05:52 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You should better ask in programming forum.
 
Old 04-11-2006, 07:11 AM   #3
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Hi,
"top" will show if a zombie process is present and possibly more ..I am not a programmer and may not understand your question..
Anyway thats all i know..
Goodluck,
jolphil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
VmSize : Regarding /proc/<pid>/status shivaligupta Programming 0 04-06-2006 04:33 AM
Getting pid of a process!! vishamr2000 Programming 31 09-09-2005 08:46 PM
how to get more process' info according to its PID? iclinux Programming 1 02-05-2005 05:30 AM
Getting PID of running process in C/C++ laikos Programming 9 03-15-2004 03:33 AM
Get Next PID of Process Tree zer0python Programming 7 11-26-2003 11:56 AM


All times are GMT -5. The time now is 12:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration