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/sindicates the average number of system calls per second averaged over the sampling interval. Also of interest are
swrit/swhich indicate the number of read(S) and write(S) calls, and
wchar/swhich 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
to examine the results of execution
profiling provided by the
function. This should show where a program spends most of its time
when it is
You can also use the
utility to investigate system call usage by a program.