AIX

AIX

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

 View Only
  • 1.  truss meaning

    Posted Mon May 29, 2017 11:21 AM

    Originally posted by: Fernando_Gomez


    Hello!

    I understand that truss could be of help of what is doing a process behind the scene, so we could find what is doing or if the process is hung.

     

    Actually I have a proc program that open an Oracle session and generates 2 different PID's.

     

    The truss of the main process shows the following:

     

    truss -p 34538572

     

    kread(0, 0x0000000000000000, 0) (sleeping...)

     

     

    And the second process shows the next:

    truss -p 12649854

    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
    _poll(0x0FFFFFFFFFFF2608, 1, 0)                 = 0
     

    ...same output infinitely... could you please tell me what is going on? Seems that the process is not open or reading files, but stuck on this, but cannot figured what means the _poll line and why is hanged there.

     

    Any advices or recommendations are welcomed.

     

    Regards,

    Fer.