Solved

checking process status using C function

Posted on 1997-01-27
1
389 Views
Last Modified: 2012-05-04
Is there a unix C function that I can use to check the status of any
(non-child) process  on the system  if I know the process id and/or process name without using something  like system("ps") and checking the result.  wait/waitpid only works for child processes.

I believe there are win32 api that I can use to check the instance
of self running on the system and checking the status of other
process (WaitForSingleObject).

Thanks.

-clint
0
Comment
Question by:clintc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
ian010997 earned 100 total points
ID: 1249495
No, there is not a unix C funtion to do that.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question