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

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -