Tested with the latest Percona Toolkit and works as expected, it goes to the background.
# pt-heartbeat --user=root --create-table -D percona --table heartbeat --update -h 127.0.0.1 --interval 10 --sentinel /tmp/pt-heartbeat-sentinel --stop --daemonize Successfully created file /tmp/pt-heartbeat-sentinel # ps aux | grep pt-heartbeat root 8240 0.0 0.3 80196 13536 ? Ss 12:37 0:00 perl /usr/bin/pt-heartbeat --user=root --create-table -D percona --table heartbeat --update -h 127.0.0.1 --interval 10 --sentinel /tmp/pt-heartbeat-sentinel --stop --daemonize
Tested with the latest Percona Toolkit and works as expected, it goes to the background.
# pt-heartbeat --user=root --create-table -D percona --table heartbeat --update -h 127.0.0.1 --interval 10 --sentinel /tmp/pt- heartbeat- sentinel --stop --daemonize heartbeat- sentinel pt-heartbeat --user=root --create-table -D percona --table heartbeat --update -h 127.0.0.1 --interval 10 --sentinel /tmp/pt- heartbeat- sentinel --stop --daemonize
Successfully created file /tmp/pt-
# ps aux | grep pt-heartbeat
root 8240 0.0 0.3 80196 13536 ? Ss 12:37 0:00 perl /usr/bin/