0 Replies Latest reply on Feb 28, 2013 7:57 PM by 994057

    dtrace to differentiate exec run by ldd


      Hi alll ,

      We want to use dtrace to mintor exec. For example , say when we run 'ldd cat' , ldd will exec cat to check what library that prog is using. It is an exec but stops when libraries are loaded , as ldd exports LD_TRACE_LOADED_OBJECTS_E env variable , if this var is defined, exec will stop when lib loaded no further execution. So, from our view, that is not an exec, is there a way we can we use dtrace to separate real exec and exec with LD_TRACE_LOADED_OBJECTS_E env variable set?

      Any help is apprecaited.