• Home
  • Raw
  • Download

Lines Matching refs:pid2

432     my $pid2 = 0;
472 $pid2 = 0 + <PID>;
474 if(($pid2 > 0) && pidexists($pid2)) {
481 $pid2 = 0;
499 return ($child, $pid2);
1394 my ($http2pid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1399 stopserver($server, "$pid2");
1408 return ($http2pid, $pid2);
1473 my ($httppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1478 stopserver($server, "$pid2");
1489 stopserver($server, "$httppid $pid2");
1494 $pid2 = $pid3;
1502 return ($httppid, $pid2);
1554 my ($httpspid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1559 stopserver($server, "$pid2");
1570 stopserver($server, "$httpspid $pid2");
1585 return ($httpspid, $pid2);
1635 my ($httptlspid, $pid2) = startnew($cmd, $pidfile, 10, 1); # fake pidfile
1640 stopserver($server, "$pid2");
1651 stopserver($server, "$httptlspid $pid2");
1656 $pid2 = $pid3;
1664 return ($httptlspid, $pid2);
1730 my ($ftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1735 stopserver($server, "$pid2");
1746 stopserver($server, "$ftppid $pid2");
1752 $pid2 = $pid3;
1760 return ($pid2, $ftppid);
1812 my ($ftpspid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1817 stopserver($server, "$pid2");
1828 stopserver($server, "$ftpspid $pid2");
1843 return ($ftpspid, $pid2);
1894 my ($tftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1899 stopserver($server, "$pid2");
1910 stopserver($server, "$tftppid $pid2");
1915 $pid2 = $pid3;
1923 return ($pid2, $tftppid);
1975 my ($rtsppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1980 stopserver($server, "$pid2");
1991 stopserver($server, "$rtsppid $pid2");
1996 $pid2 = $pid3;
2004 return ($rtsppid, $pid2);
2053 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0);
2062 stopserver($server, "$pid2");
2075 stopserver($server, "$sshpid $pid2");
2079 $pid2 = $pid3;
2095 stopserver($server, "$sshpid $pid2");
2101 logmsg "RUN: $srvrname server is now running PID $pid2\n";
2104 return ($pid2, $sshpid);
2214 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 30, 1); # fake pidfile
2223 stopserver($server, "$pid2");
2233 stopserver($server, "$sshpid $pid2");
2237 $pid2 = $pid3;
2240 logmsg "RUN: $srvrname server is now running PID $pid2\n";
2243 return ($pid2, $sshpid);
2290 my ($dictpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2295 stopserver($server, "$pid2");
2306 stopserver($server, "$dictpid $pid2");
2311 $pid2 = $pid3;
2319 return ($dictpid, $pid2);
2366 my ($smbpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2371 stopserver($server, "$pid2");
2382 stopserver($server, "$smbpid $pid2");
2387 $pid2 = $pid3;
2395 return ($smbpid, $pid2);
2442 my ($ntelpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2447 stopserver($server, "$pid2");
2458 stopserver($server, "$ntelpid $pid2");
2463 $pid2 = $pid3;
2471 return ($ntelpid, $pid2);
4658 my ($pid, $pid2);
4678 ($pid, $pid2) = runpingpongserver($what, "", $verbose);
4682 printf ("* pid $what => %d %d\n", $pid, $pid2) if($verbose);
4683 $run{$what}="$pid $pid2";
4692 ($pid, $pid2) = runpingpongserver("ftp", "2", $verbose);
4696 printf ("* pid ftp2 => %d %d\n", $pid, $pid2) if($verbose);
4697 $run{'ftp2'}="$pid $pid2";
4706 ($pid, $pid2) = runpingpongserver("ftp", "", $verbose, "ipv6");
4711 $pid2) if($verbose);
4712 $run{'ftp-ipv6'}="$pid $pid2";
4721 ($pid, $pid2) = runhttpserver("gopher", $verbose, 0,
4726 logmsg sprintf ("* pid gopher => %d %d\n", $pid, $pid2)
4728 $run{'gopher'}="$pid $pid2";
4738 ($pid, $pid2) = runhttpserver("gopher", $verbose, "ipv6",
4744 $pid2) if($verbose);
4745 $run{'gopher-ipv6'}="$pid $pid2";
4750 ($pid, $pid2) = runhttp2server($verbose, $HTTP2PORT);
4754 logmsg sprintf ("* pid http/2 => %d %d\n", $pid, $pid2)
4756 $run{'http/2'}="$pid $pid2";
4765 ($pid, $pid2) = runhttpserver("http", $verbose, 0,
4770 logmsg sprintf ("* pid http => %d %d\n", $pid, $pid2)
4772 $run{'http'}="$pid $pid2";
4782 ($pid, $pid2) = runhttpserver("http", $verbose, "proxy",
4787 logmsg sprintf ("* pid http-proxy => %d %d\n", $pid, $pid2)
4789 $run{'http-proxy'}="$pid $pid2";
4798 ($pid, $pid2) = runhttpserver("http", $verbose, "ipv6",
4803 logmsg sprintf("* pid http-ipv6 => %d %d\n", $pid, $pid2)
4805 $run{'http-ipv6'}="$pid $pid2";
4814 ($pid, $pid2) = runrtspserver($verbose);
4818 printf ("* pid rtsp => %d %d\n", $pid, $pid2) if($verbose);
4819 $run{'rtsp'}="$pid $pid2";
4828 ($pid, $pid2) = runrtspserver($verbose, "ipv6");
4832 logmsg sprintf("* pid rtsp-ipv6 => %d %d\n", $pid, $pid2)
4834 $run{'rtsp-ipv6'}="$pid $pid2";
4855 ($pid, $pid2) = runpingpongserver("ftp", "", $verbose);
4859 printf ("* pid ftp => %d %d\n", $pid, $pid2) if($verbose);
4860 $run{'ftp'}="$pid $pid2";
4863 ($pid, $pid2) = runftpsserver($verbose, "", $certfile);
4867 logmsg sprintf("* pid ftps => %d %d\n", $pid, $pid2)
4869 $run{'ftps'}="$pid $pid2";
4893 ($pid, $pid2) = runhttpserver("http", $verbose, 0,
4898 printf ("* pid http => %d %d\n", $pid, $pid2) if($verbose);
4899 $run{'http'}="$pid $pid2";
4902 ($pid, $pid2) = runhttpsserver($verbose, "", $certfile);
4906 logmsg sprintf("* pid https => %d %d\n", $pid, $pid2)
4908 $run{'https'}="$pid $pid2";
4921 ($pid, $pid2) = runhttptlsserver($verbose, "IPv4");
4925 logmsg sprintf("* pid httptls => %d %d\n", $pid, $pid2)
4927 $run{'httptls'}="$pid $pid2";
4940 ($pid, $pid2) = runhttptlsserver($verbose, "ipv6");
4944 logmsg sprintf("* pid httptls-ipv6 => %d %d\n", $pid, $pid2)
4946 $run{'httptls-ipv6'}="$pid $pid2";
4955 ($pid, $pid2) = runtftpserver("", $verbose);
4959 printf ("* pid tftp => %d %d\n", $pid, $pid2) if($verbose);
4960 $run{'tftp'}="$pid $pid2";
4969 ($pid, $pid2) = runtftpserver("", $verbose, "ipv6");
4973 printf("* pid tftp-ipv6 => %d %d\n", $pid, $pid2) if($verbose);
4974 $run{'tftp-ipv6'}="$pid $pid2";
4979 ($pid, $pid2) = runsshserver("", $verbose);
4983 printf ("* pid ssh => %d %d\n", $pid, $pid2) if($verbose);
4984 $run{'ssh'}="$pid $pid2";
4988 ($pid, $pid2) = runsocksserver("", $verbose);
4992 printf ("* pid socks => %d %d\n", $pid, $pid2) if($verbose);
4993 $run{'socks'}="$pid $pid2";
5020 ($pid, $pid2) = runhttpserver("http", $verbose, "unix",
5025 logmsg sprintf("* pid http-unix => %d %d\n", $pid, $pid2)
5027 $run{'http-unix'}="$pid $pid2";
5032 ($pid, $pid2) = rundictserver($verbose, "", $DICTPORT);
5036 logmsg sprintf ("* pid DICT => %d %d\n", $pid, $pid2)
5038 $run{'dict'}="$pid $pid2";
5043 ($pid, $pid2) = runsmbserver($verbose, "", $SMBPORT);
5047 logmsg sprintf ("* pid SMB => %d %d\n", $pid, $pid2)
5049 $run{'dict'}="$pid $pid2";
5054 ($pid, $pid2) = runnegtelnetserver($verbose,
5060 logmsg sprintf ("* pid neg TELNET => %d %d\n", $pid, $pid2)
5062 $run{'dict'}="$pid $pid2";