#include<stdio.h>
main()
{
fork();
fork();
fork();
}
Theory says this code will create 8 process. Looking for a simple way to find this?
ps -e
shows only 4 processes when fork() used along with sleep() command. Is there any simple way to find other than IPC
1 Answer