lkml.org 
[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectprocesses or threads
From
Date
Hi all,

Can someone of you tell me if there is a way to understand (in user space
through proc filesystem) if a thread (or process) has been created using a
fork or a clone. I am writing a small library that parse the proc
filesystem to get all the processes currently in execution.

The problem is that the client application need only the processes created
with the fork system call.

I tried to understand the solution looking at the linux source code and
making a search on the MARC mail list but I haven't found the solution.

Thanks in advance for any suggestions.

PS

I am not subscribed to this mail list, so please when reply put my address
in cc.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.025 / U:25.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site