AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  strace command

    Posted Fri October 07, 2011 09:21 AM

    Originally posted by: big


    Hi,
    does anyone know the equivalent command of the following in AIX :
    oracle@elise03 trace$ strace -tp 15033
    Process 15033 attached - interrupt to quit
    11:28:06 gettimeofday({1257766086, 104118}, NULL) = 0
    11:28:06 getrusage(RUSAGE_SELF, {ru_utime={2270, 615813}, ru_stime={0, 634903}, ...}) = 0
    Thank you
    #AIX-Forum


  • 2.  Re: strace command

    Posted Fri October 07, 2011 09:34 AM

    Originally posted by: esv


    > big wrote:
    > Hi,
    > does anyone know the equivalent command of the following in AIX :
    >
    >
    > oracle@elise03 trace$ strace -tp 15033
    > Process 15033 attached - interrupt to quit
    > 11:28:06 gettimeofday({1257766086, 104118}, NULL) = 0
    > 11:28:06 getrusage(RUSAGE_SELF, {ru_utime={2270, 615813}, ru_stime={0, 634903}, ...}) = 0
    >
    >
    > Thank you

    use the truss command.
    #AIX-Forum