unix - How to get the trace of process? -
suppose there process in inactive state many days , want know until time process in active state. other log records can information? unix platform.
use strace debugging utility. can attach running process, save output log file , analyse later.
[root@localhost ~]# [root@localhost ~]# strace -o log -p 7166 process 7166 attached - interrupt quit
Comments
Post a Comment