Last active 1745319742

dch's Avatar dch revised this gist 1745319741. Go to revision

1 file changed, 53 insertions

example.md(file created)

@@ -0,0 +1,53 @@
1 + ```
2 + write
3 + value ------------- Distribution ------------- count
4 + 0 | 0
5 + 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 23954
6 + 2 | 7
7 + 4 | 22
8 + 8 | 21
9 + 16 | 174
10 + 32 | 9
11 + 64 | 72
12 + 128 | 23
13 + 256 | 3
14 + 512 | 4
15 + 1024 | 29
16 + 2048 | 24
17 + 4096 |@ 377
18 + 8192 | 139
19 + 16384 | 6
20 + 32768 | 28
21 + 65536 | 5
22 + 131072 | 0
23 + 262144 | 1
24 + 524288 | 0
25 + 1048576 | 1
26 + 2097152 | 0
27 +
28 + read
29 + value ------------- Distribution ------------- count
30 + -2 | 0
31 + -1 | 1
32 + 0 | 17
33 + 1 |@@@@@@@@ 23952
34 + 2 | 0
35 + 4 | 0
36 + 8 | 10
37 + 16 | 73
38 + 32 | 0
39 + 64 | 11
40 + 128 | 4
41 + 256 | 1
42 + 512 | 64
43 + 1024 | 27
44 + 2048 | 28
45 + 4096 | 312
46 + 8192 | 2
47 + 16384 | 0
48 + 32768 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 89082
49 + 65536 | 4
50 + 131072 | 9
51 + 262144 | 31
52 + 524288 | 0
53 + ```

dch's Avatar dch revised this gist 1745319709. Go to revision

1 file changed, 7 insertions

io-histogram.d(file created)

@@ -0,0 +1,7 @@
1 + #!/usr/sbin/dtrace -s
2 + #pragma D option quiet
3 + #pragma D option aggsize=20m
4 +
5 + syscall::read:return,syscall::write:return
6 + /execname == "firefox" /
7 + { @[probefunc] = quantize(arg1); }
Newer Older