Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get process status using pid?

Status
Not open for further replies.

neokernel

Programmer
Jun 2, 2003
1
US
Hi All,

how to get process status(Running/Stopped)
using pid in C?

Thanks
Pan
 
'lssrc -p <pid>' will give you the status of a given pid. How to work that into your C program? I'm not sure...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top