LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 08: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, 06: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, 08: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
Getting PID of running process in C/C++ laikos Programming 16 10-30-2015 07:16 PM
Getting pid of a process!! vishamr2000 Programming 34 03-12-2015 08:12 AM
VmSize : Regarding /proc/<pid>/status shivaligupta Programming 0 04-06-2006 05:33 AM
how to get more process' info according to its PID? iclinux Programming 1 02-05-2005 06:30 AM
Get Next PID of Process Tree zer0python Programming 7 11-26-2003 12:56 PM

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

All times are GMT -5. The time now is 06:20 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