Lines Matching +full:num +full:- +full:cols
1 # -*- tab-width: 4 -*- ;; Emacs
5 # $Title: dwatch(8) profile for top-like syscall $
6 # $Copyright: 2014-2018 Devin Teske. All rights reserved. $
19 " # END-QUOTE
23 : ${PROBE:=profile:::tick-3s}
32 @num[probefunc,execname] = count();
35 END { trunc(@num) } /* probe ID $(( $ID + 2 )) */
45 # Here we override the default EVENT_TAG to include ANSI cursor-homing and
46 # screen-clearing codes.
50 cols="${size#* }"
53 printf("\033[H"); /* Position the cursor at top-left */
57 printf("%-*s%s%Y%s\n",
58 $(( ${cols:-80} - 20 )), "$PROBE",
64 printf("%s%8s %-20s %s%s\n",
76 printa("%@8u %-20s %s\n", @num);
77 trunc(@num);