Home
last modified time | relevance | path

Searched refs:pid_file (Results 1 – 25 of 3230) sorted by relevance

12345678910>>...130

/dports/databases/percona-toolkit/percona-toolkit-3.3.0/lib/
H A DDaemon.pm35 pid_file => $args{pid_file},
49 my $pid_file = $self->{pid_file};
66 pid_file => $pid_file,
96 pid_file => $pid_file,
160 my $pid_file = $args{pid_file};
177 pid_file => $pid_file,
186 pid_file => $pid_file
203 my $pid_file = $args{pid_file};
251 my $pid_file = $args{pid_file};
265 $pid_file ||= $self->{pid_file};
[all …]
/dports/net/p5-Net-Server/Net-Server-2.010/lib/Net/Server/
H A DDaemonize.pm38 my $pid_file = shift;
39 return 1 if ! -e $pid_file or ! -s $pid_file && -M _ > 0.01;
60 unlink $pid_file || die "Couldn't remove pid_file \"$pid_file\" [$!]\n";
67 my $pid_file = shift;
75 die "Pid_file \"$pid_file\" not created.\n" if ! -e $pid_file;
82 my $pid_file = shift;
93 unlink($pid_file) || die "$pid_file: Couldn't unlink pid_file [$!]\n";
193 check_pid_file($pid_file) if defined $pid_file;
204 create_pid_file($pid_file) if defined $pid_file;
205 chown($uid, $gid, $pid_file) if defined $pid_file;
[all …]
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/lib/
H A DDaemon.t26 -f $pid_file && (unlink $pid_file || die "Error removing $pid_file");
50 -f $pid_file,
54 $output = slurp_file($pid_file);
69 ! -f $pid_file,
113 diag(`touch $pid_file`);
116 -f $pid_file,
123 qr{PID file $pid_file exists},
200 -f $pid_file,
232 !-f $pid_file,
261 pid_file => $pid_file2,
[all …]
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/pt-stalk/
H A Dpt-stalk.t93 -f $pid_file,
118 PerconaTest::kill_program(pid_file => $pid_file);
130 ! -f $pid_file,
151 PerconaTest::kill_program(pid_file => $pid_file);
170 PerconaTest::kill_program(pid_file => $pid_file);
296 chomp($pid = `cat $pid_file`);
417 PerconaTest::kill_program(pid_file => $pid_file);
453 PerconaTest::kill_program(pid_file => $pid_file);
501 PerconaTest::kill_program(pid_file => $pid_file);
522 PerconaTest::kill_program(pid_file => $pid_file);
[all …]
/dports/mail/spamassassin/Mail-SpamAssassin-3.4.5/t/
H A Dspamd_kill_restart.t16 my $pid_file = "log/spamd.pid";
24 start_spamd("-L -r ${pid_file}");
28 ok ($pid1 = read_from_pidfile($pid_file));
29 ok (-e $pid_file) or warn "$pid_file is not there before SIGINT";
30 ok (!-z $pid_file) or warn "$pid_file is empty before SIGINT";
44 ok (!-e $pid_file);
51 start_spamd("-D -L -r ${pid_file}");
54 wait_for_file_to_appear ($pid_file, 20);
55 ok (-e $pid_file) or warn "$pid_file does not exist post restart";
56 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
[all …]
H A Dspamd_kill_restart_rr.t16 my $pid_file = "log/spamd.pid";
24 start_spamd("-L --round-robin -r ${pid_file}");
28 ok ($pid1 = read_from_pidfile($pid_file));
29 ok (-e $pid_file) or warn "$pid_file is not there before SIGINT";
30 ok (!-z $pid_file) or warn "$pid_file is empty before SIGINT";
44 ok (!-e $pid_file);
52 start_spamd("-D -L --round-robin -r ${pid_file}");
55 wait_for_file_to_appear ($pid_file, 40);
56 …ok (-e $pid_file) or warn "$pid_file does not exist post restart; started at $startat, gave up at …
58 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
[all …]
H A Dspamd_hup.t15 my $pid_file = "log/spamd.pid";
19 start_spamd("-L -r ${pid_file}");
23 ok ($pid1 = read_from_pidfile($pid_file));
24 ok (-e $pid_file) or warn "$pid_file is not there before SIGHUP";
25 ok (!-z $pid_file) or warn "$pid_file is empty before SIGHUP";
34 wait_for_file_to_change_or_disappear($pid_file, 20, sub {
40 wait_for_file_to_appear ($pid_file, 26);
42 ok (-e $pid_file) or warn "$pid_file does not exist post restart";
43 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
45 ok ($pid2 = read_from_pidfile($pid_file));
/dports/mail/spamassassin-devel/spamassassin-1ea352210/t/
H A Dspamd_kill_restart.t16 my $pid_file = "$workdir/spamd.pid";
24 start_spamd("-L -r ${pid_file}");
28 ok ($pid1 = read_from_pidfile($pid_file));
29 ok (-e $pid_file) or warn "$pid_file is not there before SIGINT";
30 ok (!-z $pid_file) or warn "$pid_file is empty before SIGINT";
44 ok (!-e $pid_file);
51 start_spamd("-D -L -r ${pid_file}");
54 wait_for_file_to_appear ($pid_file, 20);
55 ok (-e $pid_file) or warn "$pid_file does not exist post restart";
56 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
[all …]
H A Dspamd_kill_restart_rr.t16 my $pid_file = "$workdir/spamd.pid";
24 start_spamd("-L --round-robin -r ${pid_file}");
28 ok ($pid1 = read_from_pidfile($pid_file));
29 ok (-e $pid_file) or warn "$pid_file is not there before SIGINT";
30 ok (!-z $pid_file) or warn "$pid_file is empty before SIGINT";
44 ok (!-e $pid_file);
52 start_spamd("-D -L --round-robin -r ${pid_file}");
55 wait_for_file_to_appear ($pid_file, 40);
56 …ok (-e $pid_file) or warn "$pid_file does not exist post restart; started at $startat, gave up at …
58 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
[all …]
H A Dspamd_hup.t15 my $pid_file = "$workdir/spamd.pid";
19 start_spamd("-L -r ${pid_file}");
23 ok ($pid1 = read_from_pidfile($pid_file));
24 ok (-e $pid_file) or warn "$pid_file is not there before SIGHUP";
25 ok (!-z $pid_file) or warn "$pid_file is empty before SIGHUP";
34 wait_for_file_to_change_or_disappear($pid_file, 20, sub {
40 wait_for_file_to_appear ($pid_file, 26);
42 ok (-e $pid_file) or warn "$pid_file does not exist post restart";
43 ok (!-z $pid_file) or warn "$pid_file is empty post restart";
45 ok ($pid2 = read_from_pidfile($pid_file));
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
14 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
17 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
[all …]
/dports/net-mgmt/resource-agents/resource-agents-4.9.0/rgmanager/src/resources/utils/
H A Dra-skelet.sh.in23 declare pid_file="$1"
25 if [ -z "$pid_file" ]; then
30 if [ ! -e "$pid_file" ]; then
31 clog_check_file_exist $CLOG_FAILED "$pid_file"
35 read pid < "$pid_file"
50 declare pid_file="$1"
60 if [ ! -e "$pid_file" ]; then
72 read pid < "$pid_file"
107 declare pid_file="$1"
125 if [ ! -e "$pid_file" ]; then
[all …]
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/pt-deadlock-logger/
H A Dstandard_options.t59 diag(`touch $pid_file`);
70 qr{PID file $pid_file already exists},
74 unlink $pid_file if -f $pid_file;
85 PerconaTest::wait_for_files($pid_file);
97 -f $pid_file,
101 chomp($output = slurp_file($pid_file));
111 ok(! -f $pid_file, 'PID file removed');
114 diag(`touch $pid_file`);
116 -f $pid_file,
130 qr/PID file $pid_file already exists/,
[all …]
/dports/net/kea/kea-2.0.1/src/lib/util/tests/
H A Dpid_file_unittest.cc93 pid_file.write(10); in TEST_F()
103 pid_file.write(20); in TEST_F()
113 pid_file.deleteFile(); in TEST_F()
128 pid_file.write(); in TEST_F()
131 EXPECT_EQ(getpid(), pid_file.check()); in TEST_F()
149 pid_file.write(pid); in TEST_F()
152 if (pid_file.check() == 0) { in TEST_F()
160 pid_file.write(pid); in TEST_F()
163 EXPECT_EQ(0, pid_file.check()); in TEST_F()
189 pid_file.write(10); in TEST_F()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/mysql-test/suite/sys_vars/r/
H A Dpid_file_basic.result1 select @@global.pid_file;
2 @@global.pid_file
4 select @@session.pid_file;
5 ERROR HY000: Variable 'pid_file' is a GLOBAL variable
6 show global variables like 'pid_file';
8 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
9 show session variables like 'pid_file';
11 pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
18 set global pid_file=1;
19 ERROR HY000: Variable 'pid_file' is a read only variable
[all …]

12345678910>>...130