monitoring active processes and identifying the required processes.
can i write a program that finds out which all user processes are running on the users computer at any given time & identify whether a particular program is running or not.
|
use the /proc file system, and check out 'man proc'.
|
Yes the best way is to use /proc file system
also you can get the output from PS or PS -A command, or top command. check all. /proc filesystem (best) PS -A top |
All times are GMT -5. The time now is 06:51 PM. |