Computing.Net > Forums > Solaris > how to interpret truss output ?

how to interpret truss output ?

Reply to Message Icon

Original Message
Name: cesarNZ
Date: January 15, 2008 at 14:57:10 Pacific
Subject: how to interpret truss output ?
OS: solaris 9
CPU/Ram: na
Model/Manufacturer: na
Comment:

hi all,
am a newbie to solaris and am using solaris 9 os. I wanted to know how to interpret the output from a truss command ?? my truss command was to trace a systems calls etc : /usr/bin/truss -p [pid]

thanks in advance,
cesar.



Report Offensive Message For Removal


Response Number 1
Name: cesarNZ
Date: January 15, 2008 at 14:58:37 Pacific
Subject: how to interpret truss output ?
Reply: (edit)

the output i get from the truss command looks like this :


/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/8: poll(0xB4F7FD80, 0, 50) = 0
/59: lwp_cond_wait(0x01C38250, 0x01C38238, 0x00000000) (sleeping...)
/60: lwp_cond_wait(0x01C382B8, 0x01C382A0, 0x00000000) (sleeping...)
/58: lwp_cond_wait(0x01437348, 0x01437330, 0x00000000) (sleeping...)
/71: lwp_cond_wait(0x02037070, 0x02037058, 0x00000000) (sleeping...)
/72: lwp_mutex_lock(0x00037958) (sleeping...)
/56: recvfrom(36, 0x02119CA0, 16384, 0, 0xADA7F0BC, 0xADA7F0DC) (sleeping...)
/46: lwp_mutex_lock(0x000F0E38) (sleeping...)
/35: lwp_mutex_lock(0x000F0EA8) (sleeping...)
/86: lwp_mutex_lock(0x000F0EE0) (sleeping...)
/53: lwp_mutex_lock(0x00037958) (sleeping...)
/38: lwp_mutex_lock(0x000F0E38) (sleeping...)


Report Offensive Follow Up For Removal

Response Number 2
Name: jefro
Date: January 15, 2008 at 17:23:52 Pacific
Subject: how to interpret truss output ?
Reply: (edit)

My guess is it is doing little to nothing.


What are you trying to learn or do?

I read it wrong and answer it wrong too. So get off my case you peanut.


Report Offensive Follow Up For Removal

Response Number 3
Name: cesarNZ
Date: January 15, 2008 at 19:16:34 Pacific
Subject: how to interpret truss output ?
Reply: (edit)

was trying to troubleshoot this application server which seemed to be in a hung state as the clients running on that app were taking ages to respond to command which normally takes split seconds.


Report Offensive Follow Up For Removal

Response Number 4
Name: jefro
Date: January 16, 2008 at 15:10:58 Pacific
Subject: how to interpret truss output ?
Reply: (edit)

Then I'd say it is correctly showing a problem if you have correctly used the command. You did put the correct ID in didn't you?

Not sure where to look next. More diags needed and troubleshooting. Did it just happen or after some other fix or update? Any hardware changes?

Run system diags, disable other services and or hardware.

Consider reload as last ditch.

I read it wrong and answer it wrong too. So get off my case you peanut.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: how to interpret truss output ?

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software