Forum breadcrumbs - You are here:Tracston Community Forum - DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more...System: LinuxLinux SoftwareRun strace on a program who chang …
You need to log in to create posts and topics.
Run strace on a program who changes PID rapidly
Moshe Sharon@admin
#1 · 17/08/2022, 3:16 pm
Quote from Moshe Sharon on 17/08/2022, 3:16 pmProblem
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}'`
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:
Click for thumbs down.0Click for thumbs up.0