Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-13-2004, 01:05 AM   #1
Registered: Jul 2004
Posts: 65

Rep: Reputation: 15
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.
Old 08-13-2004, 01:10 AM   #2
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
use the /proc file system, and check out 'man proc'.
Old 08-13-2004, 02:58 AM   #3
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
processes doralsoral Linux - Software 2 11-14-2005 12:34 PM
are all processes running in linux required shyam_d_sundar Linux - Newbie 3 03-08-2004 02:03 PM
Identifying Processes Transition Linux - General 4 02-18-2004 04:08 PM
Monitoring Active processes HeavyWater Linux - Newbie 4 07-07-2003 10:41 PM
Monitoring Processes Bee Linux - General 4 11-19-2001 09:33 AM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration