Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why can I know a system call ----(online wating)

Status
Not open for further replies.

fishbed

MIS
Nov 7, 2003
35
CN
some process running on our server using more cpu.
this is topas's report
Kernel 26.3 |########
User 12.7 |####
Wait 0.0 |
Idle 60.9 |##################

the process using so much kernel cpu resource
=============================================

this is my trace file using "trace -a -i a.trc" and "curt -i a.trc" gotted.

System Calls Summary
--------------------
Count Total Time % sys Avg Time Min Time Max Time SVC (Address)
(msec) time (msec) (msec) (msec)
======== =========== ====== ======== ======== ======== ================
1372 4.2486 3.18% 0.0031 0.0030 0.0041 (unknown)(71c110)
1372 1.9176 1.43% 0.0014 0.0013 0.0023 (unknown)(71b960)
1 0.0300 0.02% 0.0300 0.0300 0.0300 (unknown)(71af70)
2 0.0005 0.00% 0.0002 0.0002 0.0003 (unknown)(42f2d8)
====================================================
from this report I want to know what is the "SVC (Address)"
and how can I use this address to find out what system call that the processes are invoking

 
Not a curt-fancier myself

but...

If you generate a trcnm and gensyms file first, you should be able to see SVC names as well as addresses in your curt report.

see info on
so first

# gensyms > gensyms.out
# trcnm > trace.nm

then

# curt -i a.trc -n gensyms.out -m trace.nm

HTH,

p5wizard
 
p5wizard :
thanks a lot.
And I had do what you said
this is the result
System Summary
--------------
processing percent percent
total time total time busy time
(msec) (incl. idle) (excl. idle) processing category
=========== =========== =========== ===================
111.19 31.33 51.18 APPLICATION
105.44 29.71 48.53 SYSCALL
0.00 0.00 0.00 KPROC (not including IDLE)
0.00 0.00 0.00 NFS
0.11 0.03 0.05 FLIH
0.38 0.11 0.18 SLIH
0.12 0.03 0.06 DISPATCH (all procs. incl. IDLE)
0.03 0.01 0.01 IDLE DISPATCH (only IDLE proc.)
----------- ---------- -------
217.24 61.21 100.00 CPU(s) busy time
137.66 38.79 IDLE
----------- ----------
354.90 TOTAL

System Calls Summary
--------------------
Count Total Time % sys Avg Time Min Time Max Time SVC (Address)
(msec) time (msec) (msec) (msec)
======== =========== ====== ======== ======== ======== ================
1838 65.5770 18.48% 0.0357 0.0021 15.2913 _select(7103c8)
1838 3.4130 0.96% 0.0019 0.0014 0.0074 semctl(70fc00)
42 0.6645 0.19% 0.0158 0.0034 0.0326 kwrite(612dc0)
31 0.3318 0.09% 0.0107 0.0051 0.0197 kread(612e08)
20 0.1360 0.04% 0.0068 0.0034 0.0119 thread_waitact(400130)
4 0.0699 0.02% 0.0175 0.0153 0.0201 open(70f498)
4 0.0192 0.01% 0.0048 0.0043 0.0056 close(612ca0)
27 0.0096 0.00% 0.0004 0.0002 0.0007 yield(3ffa10)

the "_select" and "semctl" system call much more then the others.
Who can help me to analyze this report?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top