LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   find number of all active processes using c (https://www.linuxquestions.org/questions/linux-newbie-8/find-number-of-all-active-processes-using-c-4175557443/)

ash2006 10-29-2015 04:57 AM

find number of all active processes using c
 
C program that will create a none zombie child process to gather the following information
from a specific Linux terminal:
Number of all active processes.
Total CPU time used by all processes.

Please help me with this. I want to submit it ASAP.

pan64 10-29-2015 05:02 AM

go ahead

chrism01 10-29-2015 10:34 PM

As pan64 implies, we do have some rules here at LQ (see menu on the right --> ),
in particular
Quote:

Do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.


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