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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to interpret truss output ?

Reply to Message Icon

Name: cesarNZ
Date: January 15, 2008 at 14:57:10 Pacific
OS: solaris 9
CPU/Ram: na
Product: 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.




Sponsored Link
Ads by Google

Response Number 1
Name: cesarNZ
Date: January 15, 2008 at 14:58:37 Pacific
Reply:

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...)


0

Response Number 2
Name: jefro
Date: January 15, 2008 at 17:23:52 Pacific
Reply:

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.


0

Response Number 3
Name: cesarNZ
Date: January 15, 2008 at 19:16:34 Pacific
Reply:

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.


0

Response Number 4
Name: jefro
Date: January 16, 2008 at 15:10:58 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Setting up Network Printe... Missing panels in Solaris


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: how to interpret truss output ?

How to Interrupt Truss???? www.computing.net/answers/solaris/how-to-interrupt-truss/2851.html

How to make a Solaris boot CD? www.computing.net/answers/solaris/how-to-make-a-solaris-boot-cd/3190.html

How to call an URL from a shell scr www.computing.net/answers/solaris/how-to-call-an-url-from-a-shell-scr/3998.html