Lind monitor based on ptrace