Try this: #include <stdio.h> #include <unistd.h> #include <stdlib.h> int main (void) { printf("PID = %d\n", getpid()); /* prints the PID of the current process */ printf("PPID = %d\n",getppid()); /* prints the PIS of the parent proicess */ exit(EXIT_SUCCESS); } On Thursday 14 February 2002 08:27 am, you wrote: Can any one tell me , how to identify the Process ID using "C"??? Kvim. _______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@redhat.com https://listman.redhat.com/mailman/listinfo/redhat-devel-list -- rm -rf /bin/laden Do it now and often!