Hi, Abu
My main question remained unanswered: Are the processes with the same name represent threads?
In Linux, there is no difference between a thread and a process besides threads share resources between each other. Every thread have a pid, but all thread have the same tgid which is the thread group leader's id. When you use getpid(), tgid will return as the thread pid.
Is there a direct correlation between no of threads created and no shown in the output of ps?
You can use command "pstree" seeing the relationships of the threads. Hope this helpful! Regards, Cheng -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/