View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 09:53 AM
neoganesh
 
Posts: n/a
Default Re: Exit code of process run using truss

Can some1 help on this please

neoganesh wrote:
> How can we find the exit code of the process that we run using the
> truss command. If i check the value of $? i get the exit code for the
> truss command and not for the process started using truss.
>
> I see that in HP-UX the -k option helps out in this case. When this
> option is used, tusc exits with the exit code of the process that was
> last traced.
>
> Please help.
>
> Thanks in Advance
> mmsganesh


Reply With Quote