You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure I fully understand the question - what does "write file failed" exactly means? Does profiler print any error?
Could you share the exact commands you type and all profiler messages?
[ERROR] Profiler already started message means the profiler is still running. You can stop it with the stop command along with -f option to dump results in the given file.
I use ./profiler.sh -d 3 -f /root/profil.html [pid] start a profiler task, write failed because the process does not have write permission to the /root directory. I restart ./profiler.sh -d 3 -f /tmp/profil.html [pid] print [ERROR] Profiler already started.
The stop command could solve my problem. But can I terminate automatically when executing the ./profiler.sh -d 3 -f /root/profil.html [pid] command.
This is the intended behavior, I don't see an issue here.
If stopping fails (because of permissions or something), profiler keeps running to allow a user to stop it correctly and dump results to a different file.
The text was updated successfully, but these errors were encountered: