processes or threads

From: Salvatore D'Angelo (
Date: Thu Jan 16 2003 - 10:33:27 EST

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.


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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:13 EST