[SunHELP] profiling a process

DAUBIGNE Sebastien - BOR sebastien.daubigne at atosorigin.com
Mon Jun 21 04:23:50 CDT 2004


"etruss" (http://www.solarisinternals.com/si/downloads/etruss) is your
friend.
Note, however, that etruss can only trace 32 bits process.

For instance :

# etruss -cfp 28000
signals ------------

SIGALRM            5
total:             5


syscall       cpu sec  elapsed     latency     wait   calls  errors
times            .000     .006     .000071       0%      92
semsys           .014   18.177     .019399      81%     937      5
poll             .000     .015     .015697       0%       1
sigprocmask      .022     .107     .000036       0%    2934
context          .007     .692     .000935       0%     741
yield            .000     .000     .000156       0%       2
setitimer        .014     .049     .000033       0%    1462
pwrite64         .040    1.107     .029154       4%      38
                -----    -----                          ---    ---
sys totals:      .100   20.157                         6207      5
usr time:       1.011
elapsed:       21.960

                       ---------- per I/O ----------     ---------- total
-------------
syscall[file]          latency      iowait      size     wait      Kb/s
calls  errors
write[S_IFCHR]:        .029155     .027780   1048576       4%      1772
38





--
Sebastien DAUBIGNE
Sebastien.daubigne at atosorigin.com <mailto:Sebastien.daubigne at atosorigin.com>
+33(0)5.57.26.56.36
AtosOrigin - ERP/Pessac


-----Message d'origine-----
De:	sunhelp-bounces at sunhelp.org [SMTP:sunhelp-bounces at sunhelp.org] @ la
place de Eric LeBlanc
Date:	vendredi 18 juin 2004 16:15
@:	sunhelp at sunhelp.org
Objet:	[SunHELP] profiling a process

Hello!

Anyone know a tool that it can trace a process with fulls details?  For
example: the total time spent in IO, waiting IO, in CPU (with states:
sleeping, runnable, etc), the memory consumed, etc.

In other words, a tool which we can see more information about all
ressources used by a process than a simple top/ps...


E.
--
Eric LeBlanc
inouk at igt.net
--------------------------------------------------
UNIX is user friendly.
It's just selective about who its friends are.
==================================================
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list