1 The following is a demonstration of the dappprof command,
3 This is the usage for version 0.60,
6 USAGE: dappprof [-cehoTU] [-u lib] { -p PID | command }
8 -p PID # examine this PID
10 -c # print syscall counts
11 -e # print elapsed times (us)
12 -o # print on cpu times
14 -u lib # trace this library instead
15 -U # trace all libraries + user funcs
16 -b bufsize # dynamic variable buf size
18 dappprof df -h # run and examine "df -h"
19 dappprof -p 1871 # examine PID 1871
20 dappprof -ap 1871 # print all data
24 The following shows running dappprof with the "banner hello" command.
25 Elapsed and on-cpu times are printed (-eo), as well as counts (-c) and
28 # dappprof -eocT banner hello
35 # # ###### ###### ###### ####
66 The above output has analysed user functions (the default). It makes it
67 easy to identify which function is being called the most (COUNT), which
68 is taking the most time (ELAPSED), and which is consuming the most CPU (CPU).
69 These times are totals for all the functions called.