At my operating system course in a project we have to get process status. We are coding with c.
Example output:
Process No Process Id Program Name Status Handle Count
1 5780 notepad.exe ACTIVE 1
How can i get status and handle count?