Unix Technical Forum

Truss usage on Solaris

This is a discussion on Truss usage on Solaris within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi all, I am new to solaris and I would like to know how to use truss command to ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008, 02:57 PM
ravi
 
Posts: n/a
Default Truss usage on Solaris

Hi all, I am new to solaris and I would like to know how to use truss
command to analyze or debug processes. Please help me from where I can
get detailed information regarding TRUSS cmd usage.

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 02:57 PM
Ian Collins
 
Posts: n/a
Default Re: Truss usage on Solaris

ravi wrote:
> Hi all, I am new to solaris and I would like to know how to use truss
> command to analyze or debug processes. Please help me from where I can
> get detailed information regarding TRUSS cmd usage.
>

There isn't a TRUSS command, but truss is well documented by its man page.

--
Ian Collins.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-10-2008, 02:57 PM
Paul Floyd
 
Posts: n/a
Default Re: Truss usage on Solaris

On Sat, 10 May 2008 20:03:55 +1200, Ian Collins <ian-news@hotmail.com> wrote:
> ravi wrote:
>> Hi all, I am new to solaris and I would like to know how to use truss
>> command to analyze or debug processes. Please help me from where I can
>> get detailed information regarding TRUSS cmd usage.
>>

> There isn't a TRUSS command, but truss is well documented by its man page.


I'd also recommend looking at apptrace and dtrace. If you don't want to
get into all of dtrace's gory details, there are a good number of
useful canned scripts in the dtrace toolkit.

A bientot
Paul
--
Paul Floyd http://paulf.free.fr
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-11-2008, 09:36 PM
Richard B. Gilbert
 
Posts: n/a
Default Re: Truss usage on Solaris

ravi wrote:
> Hi all, I am new to solaris and I would like to know how to use truss
> command to analyze or debug processes. Please help me from where I can
> get detailed information regarding TRUSS cmd usage.
>
> Thanks in advance.


man truss

You might also look at docs.sun.com
All of the Solaris documentation is there. You can download the .pdf
files or order hardcopy.

In Solaris 10, you have "dtrace" which seems to have been received with
great enthusiasm by those who develop software for Solaris.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-11-2008, 09:36 PM
Rich Teer
 
Posts: n/a
Default Re: Truss usage on Solaris

On Fri, 9 May 2008, ravi wrote:

> Hi all, I am new to solaris and I would like to know how to use truss
> command to analyze or debug processes. Please help me from where I can
> get detailed information regarding TRUSS cmd usage.


The same place as any other command: its man page.

--
Rich Teer, SCSA, SCNA, SCSECA

CEO,
My Online Home Inventory

URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-11-2008, 09:36 PM
Paul Floyd
 
Posts: n/a
Default Re: Truss usage on Solaris

On Sat, 10 May 2008 10:11:07 -0400, Richard B. Gilbert
<rgilbert88@comcast.net> wrote:
>
> In Solaris 10, you have "dtrace" which seems to have been received with
> great enthusiasm by those who develop software for Solaris.


And also no doubt by other OSes whose developers have been farsighted
enough to see and embrace a good idea when they see it. Specifically,
FreeBSD and Mac OS X.

A bientot
Paul
--
Paul Floyd http://paulf.free.fr
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-16-2008, 02:32 PM
bull.titan@gmail.com
 
Posts: n/a
Default Re: Truss usage on Solaris

On 10 mai, 07:57, ravi <2ra...@gmail.com> wrote:
> Hi all, I am new to solaris and I would like to know how to use truss
> command to analyze or debug processes. Please help me from where I can
> get detailed information regarding TRUSS cmd usage.
>
> Thanks in advance.


try truss -far -tall -vall Process

it will display most of the usefull information
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com