Forum Navigation
You need to log in to create posts and topics.

Run strace on a program who changes PID rapidly

Problem 

A daemon software keep exiting and user wants to trace each time the new process

Solution

use strace to check process behaivor

strace -p `ps -ef | grep mysqld | grep -v grep | grep -v tail | awk '{print $2}'`

 

Uploaded files: