LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2007, 11:42 PM   #1
helpmeforlinux
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Rep: Reputation: 0
Talking task_struct process list


i want to get process list from task struct. I knew that there is a one macro called for_each_task(p). p is pointer variable type of struct task_struct. but how to implement it and how to get all runining process list using this.
 
Old 01-23-2007, 02:01 AM   #2
cigarstub
Member
 
Registered: Sep 2005
Posts: 145

Rep: Reputation: 15
to solve a how to, you need to be bold like I:
to get the proccess list you need to request the Kernel because all proccess require the permission and is under the control of Kernel. The function should send a message to kernel .

What are individuals? me, you , sister, stranger? Or cells, anonymous and living cells with a "tool for cooperation" so-called id?
 
Old 01-24-2007, 04:30 AM   #3
helpmeforlinux
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Talking @cigarstb

Thanks for reply , actually i have written one kernel module which list all process list. But thanks for replying.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying Process Information From task_struct smoothdogg00 Programming 1 12-19-2006 04:57 PM
task_struct of a process swaroopjoshi Linux - Kernel 1 11-09-2006 04:08 PM
process list true_atlantis Linux - Software 2 09-16-2006 08:50 PM
accessing task_struct of process shukla_chanchal Linux - General 1 11-04-2005 09:27 PM
How to use task_struct to get process information?? Pratik H Pandya Programming 2 09-15-2005 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:03 PM.

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