[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: List of Processes
iirc there is a macro defined already "for_each_process" that you can
use to get all the processes
struct task_struct *p;
for_each_process (p) {
....
}
hth
kind regards
anupam
On Wed, 30 Jun 2004 14:34:00 -0300 (ART), so usp <so_usp@xxxxxxxxxxxx> wrote:
>
> Hi....
>
> I would like to know which file i can find the struct
> that list all processes executing in linux...
>
> Thanks,
> Luis Henrique.
>
> ______________________________________________________________________
>
> Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis!
> http://br.info.mail.yahoo.com/
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/