Find original process in Linux
When you need to find the original thread in a list of a hundred child threads, you can use “ps auxc | grep ”
[root@main www.ewea.org]# ps auxc | grep httpd root 1989 0.0 0.2 319260 12916 ? Ss 09:24 0:01 httpd apache 6341 1.4 1.1 483420 69864 ? S 13:18 3:10 httpd apache 12844 1.5 1.1 472324 68452 ? S 14:16 2:32 httpd apache 12854 1.5 1.0 466824 62652 ? S 14:16 2:26 httpd apache 22137 1.6 1.0 465680 61540 ? S 15:30 1:25 httpd apache 22145 1.5 1.0 466868 61920 ? S 15:30 1:17 httpd apache 22501 1.5 1.0 466620 62464 ? S 15:32 1:19 httpd apache 22508 1.5 1.0 369720 62528 ? S 15:32 1:18 httpd apache 22509 1.5 1.1 480484 67440 ? S 15:32 1:17 httpd