$ PS1="\n\n\n=====\n$ "



=====
$ truss -c -u libc: ./find /tmp/findtest -printf '%M %u %g %p\n'
drwxr-xr-x rowlap rowlap /tmp/findtest
-rw-r--r-- rowlap rowlap /tmp/findtest/a
-rw-r--r-- rowlap rowlap /tmp/findtest/b
-rw-r--r-- rowlap rowlap /tmp/findtest/c

Library:             Function                                 calls
libc:                free                                     4549
libc:                thr_self                                 3481
libc:                strcasecmp                               3323
libc:                mutex_lock                               3027
libc:                mutex_unlock                             3027
libc:                tolower                                  2641
libc:                memmove                                  2223
libc:                strncasecmp                              1740
libc:                calloc                                   1611
libc:                malloc                                   1589
libc:                strdup                                   1467
libc:                strcmp                                   1364
libc:                strlen                                   1186
libc:                strchr                                   752
libc:                strtok_r                                 618
libc:                realloc                                  506
libc:                mutex_destroy                            480
libc:                gettimeofday                             432
libc:                memset                                   421
libc:                thr_getspecific                          380
libc:                strpbrk                                  276
libc:                pthread_mutex_init                       265
libc:                mutex_init                               261
libc:                ___errno                                 233
libc:                strcpy                                   210
libc:                strlcpy                                  195
libc:                syslog                                   193
libc:                pthread_getspecific                      189
libc:                memccpy                                  163
libc:                memcpy                                   108
libc:                __udiv64                                 105
libc:                gethrtime                                104
libc:                strtol                                   92
libc:                str2passwd                               84
libc:                pthread_equal                            75
libc:                thr_main                                 75
libc:                time                                     72
libc:                strncmp                                  71
libc:                ntohl                                    64
libc:                read                                     58
libc:                __div64                                  52
libc:                poll                                     52
libc:                write                                    52
libc:                snprintf                                 49
libc:                sprintf                                  44
libc:                fcntl                                    43
libc:                rw_unlock                                36
libc:                rw_wrlock                                35
libc:                close                                    33
libc:                getpid                                   33
libc:                getuid                                   33
libc:                bcopy                                    32
libc:                bzero                                    32
libc:                getppid                                  32
libc:                memchr                                   28
libc:                getenv                                   23
libc:                _door_call                               17
libc:                _door_info                               17
libc:                _so_socket                               17
libc:                __nsw_freeconfig                         16
libc:                __nsw_getconfig                          16
libc:                _so_connect                              16
libc:                _so_getsockopt                           16
libc:                ntohs                                    16
libc:                strlcat                                  16
libc:                open                                     13
libc:                pthread_cond_init                        13
libc:                vfprintf                                 12
libc:                _fcntl                                   10
libc:                nss_search                               8
libc:                strncpy                                  8
libc:                readdir64                                6
libc:                fstatat64                                5
libc:                __umoddi3                                4
libc:                fprintf                                  4
libc:                fwrite                                   4
libc:                getgrgid                                 4
libc:                getpwuid                                 4
libc:                innetgr                                  4
libc:                nss_endent                               4
libc:                str2group                                4
libc:                atexit                                   3
libc:                rwlock_init                              3
libc:                sigaction                                3
libc:                sysconf                                  3
libc:                sysinfo                                  3
libc:                thr_keycreate                            3
libc:                thr_setspecific                          3
libc:                __fpending                               2
libc:                atol                                     2
libc:                fclose                                   2
libc:                ferror                                   2
libc:                isatty                                   2
libc:                sigemptyset                              2
libc:                strrchr                                  2
libc:                _fpstart                                 1
libc:                closedir                                 1
libc:                cond_broadcast                           1
libc:                cond_init                                1
libc:                crypt                                    1
libc:                exit                                     1
libc:                fchdir                                   1
libc:                fdopendir                                1
libc:                fflush                                   1
libc:                fileno                                   1
libc:                getegid                                  1
libc:                geteuid                                  1
libc:                getgid                                   1
libc:                ioctl                                    1
libc:                lseek                                    1
libc:                nuname                                   1
libc:                open64                                   1
libc:                openat64                                 1
libc:                pthread_atfork                           1
libc:                pthread_condattr_init                    1
libc:                pthread_create                           1
libc:                pthread_getschedparam                    1
libc:                pthread_join                             1
libc:                pthread_mutexattr_init                   1
libc:                pthread_setschedparam                    1
libc:                rw_rdlock                                1
libc:                setlocale                                1
libc:                sigfillset                               1

syscall               seconds   calls  errors
_exit                    .000       1
read                     .000      66
write                    .000      56
open                     .002     231       1
close                    .000     252
time                     .000     265
brk                      .000      20
lseek                    .000       1
getpid                   .000     453
getuid                   .000      75
getgid                   .000       2
sysi86                   .000       1
ioctl                    .000       4
execve                   .000       1
fcntl                    .000      25      12
fcntl                    .000      16
fcntl                    .000      16
fstatat64                .000       5
openat64                 .000       1
putmsg                   .001     193
sigaction                .000       4
sigfillset               .000       1
getcontext               .000       2
setustack                .000       2
mmap                     .000      92
munmap                   .000      27
fchdir                   .000       1
fxstat                   .000     195       1
getrlimit                .000       1
memcntl                  .000      17
uname                    .000       1
sysconfig                .000       5
sysinfo                  .000       3
lwp_create               .000       1
lwp_exit                 .000       1
lwp_continue             .000       1
lwp_sigmask              .000       1
lwp_private              .000       1
lwp_wait                 .000       1
pollsys                  .000      52
door_info                .000     210
door_call                .000     210
schedctl                 .000       2
resolvepath              .000      21
getdents64               .000       2
stat64                   .000      40      20
fstat64                  .000       3
open64                   .000      21      20
getcwd                   .000       1
so_socket                .000      17
connect                  .000      16      16
getsockopt               .000      16
                     --------  ------   ----
sys totals:              .009    2652     70
usr time:                .145
elapsed:                2.930



=====
$ truss -c -u libc: ./oldfind /tmp/findtest -printf '%M %u %g %p\n'
drwxr-xr-x rowlap rowlap /tmp/findtest
-rw-r--r-- rowlap rowlap /tmp/findtest/a
-rw-r--r-- rowlap rowlap /tmp/findtest/b
-rw-r--r-- rowlap rowlap /tmp/findtest/c

Library:             Function                                 calls
libc:                free                                     4538
libc:                thr_self                                 3481
libc:                strcasecmp                               3323
libc:                mutex_lock                               3027
libc:                mutex_unlock                             3027
libc:                tolower                                  2641
libc:                memmove                                  2212
libc:                strncasecmp                              1740
libc:                calloc                                   1608
libc:                malloc                                   1582
libc:                strdup                                   1467
libc:                strcmp                                   1364
libc:                strlen                                   1186
libc:                strchr                                   752
libc:                strtok_r                                 618
libc:                realloc                                  508
libc:                mutex_destroy                            480
libc:                gettimeofday                             432
libc:                memset                                   420
libc:                thr_getspecific                          380
libc:                strpbrk                                  276
libc:                pthread_mutex_init                       265
libc:                mutex_init                               261
libc:                ___errno                                 255
libc:                strcpy                                   214
libc:                strlcpy                                  195
libc:                syslog                                   193
libc:                pthread_getspecific                      189
libc:                memccpy                                  163
libc:                memcpy                                   107
libc:                __udiv64                                 105
libc:                gethrtime                                104
libc:                strtol                                   92
libc:                str2passwd                               84
libc:                pthread_equal                            75
libc:                thr_main                                 75
libc:                time                                     72
libc:                strncmp                                  71
libc:                ntohl                                    64
libc:                read                                     58
libc:                __div64                                  52
libc:                poll                                     52
libc:                write                                    52
libc:                snprintf                                 49
libc:                sprintf                                  44
libc:                rw_unlock                                36
libc:                fcntl                                    35
libc:                rw_wrlock                                35
libc:                close                                    34
libc:                getpid                                   33
libc:                getuid                                   33
libc:                bcopy                                    32
libc:                bzero                                    32
libc:                getppid                                  32
libc:                memchr                                   28
libc:                getenv                                   23
libc:                _door_call                               17
libc:                _door_info                               17
libc:                _so_socket                               17
libc:                __nsw_freeconfig                         16
libc:                __nsw_getconfig                          16
libc:                _so_connect                              16
libc:                _so_getsockopt                           16
libc:                ntohs                                    16
libc:                strlcat                                  16
libc:                open                                     13
libc:                pthread_cond_init                        13
libc:                vfprintf                                 12
libc:                _fcntl                                   10
libc:                nss_search                               8
libc:                strncpy                                  8
libc:                fchdir                                   6
libc:                readdir64                                6
libc:                fstatat64                                5
libc:                fprintf                                  4
libc:                fwrite                                   4
libc:                getgrgid                                 4
libc:                getpwuid                                 4
libc:                innetgr                                  4
libc:                nss_endent                               4
libc:                open64                                   4
libc:                str2group                                4
libc:                __fpending                               3
libc:                atexit                                   3
libc:                fclose                                   3
libc:                ferror                                   3
libc:                rwlock_init                              3
libc:                sigaction                                3
libc:                sysconf                                  3
libc:                sysinfo                                  3
libc:                thr_keycreate                            3
libc:                thr_setspecific                          3
libc:                atol                                     2
libc:                isatty                                   2
libc:                sigemptyset                              2
libc:                _fpstart                                 1
libc:                closedir                                 1
libc:                cond_broadcast                           1
libc:                cond_init                                1
libc:                crypt                                    1
libc:                exit                                     1
libc:                fflush                                   1
libc:                fileno                                   1
libc:                getegid                                  1
libc:                geteuid                                  1
libc:                getgid                                   1
libc:                ioctl                                    1
libc:                lseek                                    1
libc:                nuname                                   1
libc:                opendir                                  1
libc:                pthread_atfork                           1
libc:                pthread_condattr_init                    1
libc:                pthread_create                           1
libc:                pthread_getschedparam                    1
libc:                pthread_join                             1
libc:                pthread_mutexattr_init                   1
libc:                pthread_setschedparam                    1
libc:                rw_rdlock                                1
libc:                setlocale                                1
libc:                sigfillset                               1
libc:                stat64                                   1
libc:                strrchr                                  1

syscall               seconds   calls  errors
_exit                    .000       1
read                     .000      66
write                    .000      56
open                     .002     231       1
close                    .000     254
time                     .000     265
brk                      .000      20
lseek                    .000       1
getpid                   .000     453
getuid                   .000      75
getgid                   .000       2
sysi86                   .000       1
ioctl                    .000       4
execve                   .000       1
fcntl                    .000      17      12
fcntl                    .000      16
fcntl                    .000      16
fstatat64                .000       5
openat                   .000       1
putmsg                   .001     193
sigaction                .000       4
sigfillset               .000       1
getcontext               .000       2
setustack                .000       2
mmap                     .000      92
munmap                   .000      27
fchdir                   .000       6
fxstat                   .000     195       1
getrlimit                .000       1
memcntl                  .000      17
uname                    .000       1
sysconfig                .000       5
sysinfo                  .000       3
lwp_create               .000       1
lwp_exit                 .000       1
lwp_continue             .000       1
lwp_sigmask              .000       1
lwp_private              .000       1
lwp_wait                 .000       1
llseek                   .000       1
pollsys                  .000      52
door_info                .000     210
door_call                .000     210
schedctl                 .000       2
resolvepath              .000      21
getdents64               .000       2
stat64                   .000      41      20
fstat64                  .000       3
open64                   .000      24      20
getcwd                   .000       1
so_socket                .000      17
connect                  .000      16      16
getsockopt               .000      16
                     --------  ------   ----
sys totals:              .009    2656     70
usr time:                .143
elapsed:                2.940



=====
$ truss -c -u libc: ./find /tmp/findtest -ls
2113919965    4 drwxr-xr-x   2 rowlap   rowlap        291 Mar 13 16:23 /tmp/findtest
2197438232    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/a
4048100977    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/b
2796590444    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/c

Library:             Function                                 calls
libc:                strcasecmp                               2678
libc:                free                                     1372
libc:                tolower                                  1000
libc:                thr_self                                 895
libc:                mutex_lock                               777
libc:                mutex_unlock                             777
libc:                memmove                                  564
libc:                calloc                                   519
libc:                strdup                                   501
libc:                malloc                                   486
libc:                strcmp                                   469
libc:                strncasecmp                              438
libc:                strlen                                   385
libc:                strchr                                   246
libc:                strtok_r                                 177
libc:                realloc                                  131
libc:                memset                                   130
libc:                mutex_destroy                            120
libc:                gettimeofday                             108
libc:                strlcpy                                  102
libc:                memccpy                                  100
libc:                thr_getspecific                          95
libc:                pthread_mutex_init                       85
libc:                mutex_init                               81
libc:                __udivdi3                                78
libc:                __umoddi3                                74
libc:                strpbrk                                  69
libc:                ___errno                                 63
libc:                putc                                     62
libc:                strcpy                                   59
libc:                strncmp                                  59
libc:                syslog                                   49
libc:                pthread_getspecific                      48
libc:                memcpy                                   33
libc:                fprintf                                  28
libc:                __udiv64                                 27
libc:                pthread_equal                            27
libc:                thr_main                                 27
libc:                gethrtime                                26
libc:                getenv                                   23
libc:                strtol                                   23
libc:                read                                     22
libc:                str2passwd                               21
libc:                fcntl                                    19
libc:                time                                     18
libc:                ntohl                                    16
libc:                close                                    15
libc:                __div64                                  13
libc:                poll                                     13
libc:                pthread_cond_init                        13
libc:                snprintf                                 13
libc:                write                                    13
libc:                localeconv                               12
libc:                rw_unlock                                12
libc:                rw_wrlock                                11
libc:                sprintf                                  11
libc:                getpid                                   9
libc:                getuid                                   9
libc:                bcopy                                    8
libc:                bzero                                    8
libc:                getppid                                  8
libc:                memchr                                   7
libc:                open                                     7
libc:                readdir64                                6
libc:                _door_call                               5
libc:                _door_info                               5
libc:                _so_socket                               5
libc:                fstatat64                                5
libc:                __nsw_freeconfig                         4
libc:                __nsw_getconfig                          4
libc:                _fcntl                                   4
libc:                _so_connect                              4
libc:                _so_getsockopt                           4
libc:                localtime                                4
libc:                ntohs                                    4
libc:                strftime                                 4
libc:                strlcat                                  4
libc:                atexit                                   3
libc:                rwlock_init                              3
libc:                sigaction                                3
libc:                strncpy                                  3
libc:                sysconf                                  3
libc:                sysinfo                                  3
libc:                thr_keycreate                            3
libc:                thr_setspecific                          3
libc:                __fpending                               2
libc:                atol                                     2
libc:                fclose                                   2
libc:                ferror                                   2
libc:                isatty                                   2
libc:                nss_search                               2
libc:                sigemptyset                              2
libc:                strrchr                                  2
libc:                _fpstart                                 1
libc:                bsearch                                  1
libc:                closedir                                 1
libc:                cond_broadcast                           1
libc:                cond_init                                1
libc:                crypt                                    1
libc:                exit                                     1
libc:                fchdir                                   1
libc:                fdopendir                                1
libc:                fflush                                   1
libc:                fileno                                   1
libc:                getegid                                  1
libc:                geteuid                                  1
libc:                getgid                                   1
libc:                getgrgid                                 1
libc:                getpwuid                                 1
libc:                innetgr                                  1
libc:                ioctl                                    1
libc:                lseek                                    1
libc:                nss_endent                               1
libc:                nuname                                   1
libc:                open64                                   1
libc:                openat64                                 1
libc:                pthread_atfork                           1
libc:                pthread_condattr_init                    1
libc:                pthread_create                           1
libc:                pthread_getschedparam                    1
libc:                pthread_join                             1
libc:                pthread_mutexattr_init                   1
libc:                pthread_setschedparam                    1
libc:                qsort                                    1
libc:                rw_rdlock                                1
libc:                setlocale                                1
libc:                sigfillset                               1
libc:                str2group                                1

syscall               seconds   calls  errors
_exit                    .000       1
read                     .000      30
write                    .000      17
open                     .000      81       1
close                    .000      90
time                     .000      67
brk                      .000      20
lseek                    .000       1
getpid                   .000     117
getuid                   .000      21
getgid                   .000       2
sysi86                   .000       1
ioctl                    .000       4
execve                   .000       1
fcntl                    .000      19       6
fcntl                    .000       4
fcntl                    .000       4
fstatat64                .000       5
openat64                 .000       1
putmsg                   .000      49
sigaction                .000       4
sigfillset               .000       1
getcontext               .000       2
setustack                .000       2
mmap                     .000      92
munmap                   .000      27
fchdir                   .000       1
fxstat                   .000      51       1
getrlimit                .000       1
memcntl                  .000      17
uname                    .000       1
sysconfig                .000       5
sysinfo                  .000       3
lwp_create               .000       1
lwp_exit                 .000       1
lwp_continue             .000       1
lwp_sigmask              .000       1
lwp_private              .000       1
lwp_wait                 .000       1
pollsys                  .000      13
door_info                .000      54
door_call                .000      54
schedctl                 .000       2
resolvepath              .000      21
getdents64               .000       2
stat64                   .000      40      20
fstat64                  .000       3
open64                   .000       6       5
getcwd                   .000       1
so_socket                .000       5
connect                  .000       4       4
getsockopt               .000       4
                     --------  ------   ----
sys totals:              .003     957     37
usr time:                .049
elapsed:                1.030



=====
$ truss -c -u libc: ./oldfind /tmp/findtest -ls
2113919965    4 drwxr-xr-x   2 rowlap   rowlap        291 Mar 13 16:23 /tmp/findtest
2197438232    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/a
4048100977    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/b
2796590444    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/c

Library:             Function                                 calls
libc:                strcasecmp                               2678
libc:                free                                     1361
libc:                tolower                                  1000
libc:                thr_self                                 895
libc:                mutex_lock                               777
libc:                mutex_unlock                             777
libc:                memmove                                  553
libc:                calloc                                   516
libc:                strdup                                   501
libc:                malloc                                   479
libc:                strcmp                                   469
libc:                strncasecmp                              438
libc:                strlen                                   385
libc:                strchr                                   246
libc:                strtok_r                                 177
libc:                realloc                                  133
libc:                memset                                   129
libc:                mutex_destroy                            120
libc:                gettimeofday                             108
libc:                strlcpy                                  102
libc:                memccpy                                  100
libc:                thr_getspecific                          95
libc:                ___errno                                 85
libc:                pthread_mutex_init                       85
libc:                mutex_init                               81
libc:                __udivdi3                                78
libc:                __umoddi3                                70
libc:                strpbrk                                  69
libc:                strcpy                                   63
libc:                putc                                     62
libc:                strncmp                                  59
libc:                syslog                                   49
libc:                pthread_getspecific                      48
libc:                memcpy                                   32
libc:                fprintf                                  28
libc:                __udiv64                                 27
libc:                pthread_equal                            27
libc:                thr_main                                 27
libc:                gethrtime                                26
libc:                getenv                                   23
libc:                strtol                                   23
libc:                read                                     22
libc:                str2passwd                               21
libc:                time                                     18
libc:                close                                    16
libc:                ntohl                                    16
libc:                __div64                                  13
libc:                poll                                     13
libc:                pthread_cond_init                        13
libc:                snprintf                                 13
libc:                write                                    13
libc:                localeconv                               12
libc:                rw_unlock                                12
libc:                fcntl                                    11
libc:                rw_wrlock                                11
libc:                sprintf                                  11
libc:                getpid                                   9
libc:                getuid                                   9
libc:                bcopy                                    8
libc:                bzero                                    8
libc:                getppid                                  8
libc:                memchr                                   7
libc:                open                                     7
libc:                fchdir                                   6
libc:                readdir64                                6
libc:                _door_call                               5
libc:                _door_info                               5
libc:                _so_socket                               5
libc:                fstatat64                                5
libc:                __nsw_freeconfig                         4
libc:                __nsw_getconfig                          4
libc:                _fcntl                                   4
libc:                _so_connect                              4
libc:                _so_getsockopt                           4
libc:                localtime                                4
libc:                ntohs                                    4
libc:                open64                                   4
libc:                strftime                                 4
libc:                strlcat                                  4
libc:                __fpending                               3
libc:                atexit                                   3
libc:                fclose                                   3
libc:                ferror                                   3
libc:                rwlock_init                              3
libc:                sigaction                                3
libc:                strncpy                                  3
libc:                sysconf                                  3
libc:                sysinfo                                  3
libc:                thr_keycreate                            3
libc:                thr_setspecific                          3
libc:                atol                                     2
libc:                isatty                                   2
libc:                nss_search                               2
libc:                sigemptyset                              2
libc:                _fpstart                                 1
libc:                bsearch                                  1
libc:                closedir                                 1
libc:                cond_broadcast                           1
libc:                cond_init                                1
libc:                crypt                                    1
libc:                exit                                     1
libc:                fflush                                   1
libc:                fileno                                   1
libc:                getegid                                  1
libc:                geteuid                                  1
libc:                getgid                                   1
libc:                getgrgid                                 1
libc:                getpwuid                                 1
libc:                innetgr                                  1
libc:                ioctl                                    1
libc:                lseek                                    1
libc:                nss_endent                               1
libc:                nuname                                   1
libc:                opendir                                  1
libc:                pthread_atfork                           1
libc:                pthread_condattr_init                    1
libc:                pthread_create                           1
libc:                pthread_getschedparam                    1
libc:                pthread_join                             1
libc:                pthread_mutexattr_init                   1
libc:                pthread_setschedparam                    1
libc:                qsort                                    1
libc:                rw_rdlock                                1
libc:                setlocale                                1
libc:                sigfillset                               1
libc:                stat64                                   1
libc:                str2group                                1
libc:                strrchr                                  1

syscall               seconds   calls  errors
_exit                    .000       1
read                     .000      30
write                    .000      17
open                     .000      81       1
close                    .000      92
time                     .000      67
brk                      .000      20
lseek                    .000       1
getpid                   .000     117
getuid                   .000      21
getgid                   .000       2
sysi86                   .000       1
ioctl                    .000       4
execve                   .000       1
fcntl                    .000      11       6
fcntl                    .000       4
fcntl                    .000       4
fstatat64                .000       5
openat                   .000       1
putmsg                   .000      49
sigaction                .000       4
sigfillset               .000       1
getcontext               .000       2
setustack                .000       2
mmap                     .000      92
munmap                   .000      27
fchdir                   .000       6
fxstat                   .000      51       1
getrlimit                .000       1
memcntl                  .000      17
uname                    .000       1
sysconfig                .000       5
sysinfo                  .000       3
lwp_create               .000       1
lwp_exit                 .000       1
lwp_continue             .000       1
lwp_sigmask              .000       1
lwp_private              .000       1
lwp_wait                 .000       1
llseek                   .000       1
pollsys                  .000      13
door_info                .000      54
door_call                .000      54
schedctl                 .000       2
resolvepath              .000      21
getdents64               .000       2
stat64                   .000      41      20
fstat64                  .000       3
open64                   .000       9       5
getcwd                   .000       1
so_socket                .000       5
connect                  .000       4       4
getsockopt               .000       4
                     --------  ------   ----
sys totals:              .003     961     37
usr time:                .049
elapsed:                1.010



=====
$ truss -c -u libc: /usr/bin/find /tmp/findtest -ls
2113919965    4 drwxr-xr-x   2 rowlap   rowlap        291 Mar 13 16:23 /tmp/findtest
2197438232    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/a
4048100977    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/b
2796590444    0 -rw-r--r--   1 rowlap   rowlap          0 Mar 13 16:23 /tmp/findtest/c

Library:             Function                                 calls
libc:                strcasecmp                               2678
libc:                free                                     1349
libc:                tolower                                  1000
libc:                thr_self                                 898
libc:                mutex_lock                               775
libc:                mutex_unlock                             775
libc:                memmove                                  553
libc:                calloc                                   515
libc:                strdup                                   499
libc:                malloc                                   464
libc:                strncasecmp                              438
libc:                strlen                                   385
libc:                strcmp                                   353
libc:                strchr                                   246
libc:                strtok_r                                 177
libc:                memset                                   130
libc:                realloc                                  130
libc:                mutex_destroy                            120
libc:                gettimeofday                             107
libc:                strlcpy                                  102
libc:                memccpy                                  100
libc:                thr_getspecific                          95
libc:                pthread_mutex_init                       85
libc:                mutex_init                               81
libc:                strpbrk                                  69
libc:                strncmp                                  59
libc:                ___errno                                 58
libc:                strcpy                                   57
libc:                syslog                                   49
libc:                pthread_getspecific                      48
libc:                __udiv64                                 27
libc:                pthread_equal                            27
libc:                sprintf                                  27
libc:                thr_main                                 27
libc:                gethrtime                                26
libc:                memcpy                                   25
libc:                strtol                                   23
libc:                time                                     23
libc:                read                                     22
libc:                str2passwd                               21
libc:                ntohl                                    16
libc:                getenv                                   15
libc:                __div64                                  13
libc:                poll                                     13
libc:                pthread_cond_init                        13
libc:                snprintf                                 13
libc:                write                                    13
libc:                close                                    12
libc:                printf                                   12
libc:                fcntl                                    9
libc:                getpid                                   9
libc:                rw_unlock                                9
libc:                rw_wrlock                                9
libc:                bcopy                                    8
libc:                bzero                                    8
libc:                getppid                                  8
libc:                getuid                                   8
libc:                memchr                                   7
libc:                open                                     7
libc:                _door_call                               5
libc:                _door_info                               5
libc:                _so_socket                               5
libc:                strncpy                                  5
libc:                __nsw_freeconfig                         4
libc:                __nsw_getconfig                          4
libc:                _fcntl                                   4
libc:                _so_connect                              4
libc:                _so_getsockopt                           4
libc:                acl                                      4
libc:                ctime                                    4
libc:                ntohs                                    4
libc:                pathconf                                 4
libc:                strlcat                                  4
libc:                rwlock_init                              3
libc:                sigaction                                3
libc:                sysinfo                                  3
libc:                thr_keycreate                            3
libc:                thr_setspecific                          3
libc:                atexit                                   2
libc:                atol                                     2
libc:                nss_search                               2
libc:                sigemptyset                              2
libc:                sysconf                                  2
libc:                _fpstart                                 1
libc:                cond_broadcast                           1
libc:                cond_init                                1
libc:                crypt                                    1
libc:                exit                                     1
libc:                getcwd                                   1
libc:                getgrgid                                 1
libc:                getopt                                   1
libc:                getpwuid                                 1
libc:                innetgr                                  1
libc:                ioctl                                    1
libc:                lseek                                    1
libc:                nftw64                                   1
libc:                nss_endent                               1
libc:                pthread_atfork                           1
libc:                pthread_condattr_init                    1
libc:                pthread_getschedparam                    1
libc:                pthread_mutexattr_init                   1
libc:                pthread_setschedparam                    1
libc:                setlocale                                1
libc:                sigfillset                               1
libc:                str2group                                1
libc:                textdomain                               1

syscall               seconds   calls  errors
_exit                    .000       1
read                     .000      30
write                    .000      17
open                     .000      79       1
close                    .000      83
chdir                    .000       1
time                     .000      72
brk                      .000      20
lseek                    .000       1
getpid                   .000     117
getuid                   .000      19
sysi86                   .000       1
ioctl                    .000       2
execve                   .000       1
fcntl                    .000       9       6
fcntl                    .000       4
fcntl                    .000       4
openat                   .000       1
putmsg                   .000      49
sigaction                .000       3
sigfillset               .000       1
getcontext               .000       1
setustack                .000       1
pathconf                 .000       4
mmap                     .000      82
munmap                   .000      26
fchdir                   .000       1
fxstat                   .000      51       1
getrlimit                .000       1
memcntl                  .000      15
sysconfig                .000       4
sysinfo                  .000       3
lwp_private              .000       1
pollsys                  .000      13
acl                      .000       4
door_info                .000      54
door_call                .000      54
schedctl                 .000       1
resolvepath              .000      19
getdents64               .000       2
stat64                   .000      26       8
lstat64                  .000       4
fstat64                  .000       4
open64                   .000       5       5
getcwd                   .000       2
so_socket                .000       5
connect                  .000       4       4
getsockopt               .000       4
                     --------  ------   ----
sys totals:              .003     906     25
usr time:                .049
elapsed:                1.010



=====
$

