DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Tuning system call activity

Viewing system call activity

System call activity can be seen with sar -c (or mpsar -c for SMP):

   23:59:44 scall/s sread/s swrit/s  fork/s  exec/s  rchar/s  wchar/s
   23:59:49     473       9       0    0.09    0.12   292077      421
   23:59:54     516      13       3    0.03    0.03   367668      574
   23:59:59     483      13       3    0.01    0.02   366992      566
   

Average 489 12 2 0.04 0.06 338280 512

scall/s indicates the average number of system calls per second averaged over the sampling interval. Also of interest are sread/s and swrit/s which indicate the number of read(S) and write(S) calls, and rchar/s and wchar/s which show the number of characters transferred by them.

If you are an applications programmer and the SCO OpenServer Development System is installed on your system, you can use prof(CP) to examine the results of execution profiling provided by the monitor(S) function. This should show where a program spends most of its time when it is executing. You can also use the trace(CP) utility to investigate system call usage by a program.


Next topic: Identifying excessive read and write system call activity
Previous topic: Tuning system call activity

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003