Re: List of Processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@yahoo.com.br> 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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux