1 The following demonstrates the cpudists program. It prints distributions
2 of CPU time consumed by the Kernel, Idle thread, or Processes.
4 Here we run cpudists for 5 seconds once,
9 value ------------- Distribution ------------- count
11 8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1134
22 value ------------- Distribution ------------- count
25 32768 |@@@@@@@@@@@@@@@@@@ 331
35 value ------------- Distribution ------------- count
38 8388608 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 418
42 The value indicates the time in nanoseconds, the count the number of
45 From the above, we can see the kernel has run many times - but for short
46 intervals each time. Processes have taken fom 10 to 60 microseconds;
47 and when the idle thread runs it runs for some time - around 8 milliseconds
53 cpudists has a "-a" option for all processes,
58 value ------------- Distribution ------------- count
60 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
61 32768 |@@@@@@@@@@@@@ 1
65 value ------------- Distribution ------------- count
67 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
69 65536 |@@@@@@@@@@@@@ 1
73 value ------------- Distribution ------------- count
75 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
77 65536 |@@@@@@@@@@@@@ 1
81 value ------------- Distribution ------------- count
83 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
85 65536 |@@@@@@@@@@@@@ 1
89 value ------------- Distribution ------------- count
91 131072 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
95 value ------------- Distribution ------------- count
97 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
100 131072 |@@@@@@@@@@@@@ 1
104 value ------------- Distribution ------------- count
106 16384 |@@@@@@@@@@@@@@@@@@@@ 2
108 65536 |@@@@@@@@@@@@@@@@@@@@ 2
112 value ------------- Distribution ------------- count
114 16384 |@@@@@@@@@@@@@@@@@@@@@@@@ 3
116 65536 |@@@@@@@@@@@@@@@@ 2
120 value ------------- Distribution ------------- count
123 32768 |@@@@@@@@@@@@@@@@ 2
125 131072 |@@@@@@@@@@@@@@@@ 2
129 value ------------- Distribution ------------- count
131 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10
137 value ------------- Distribution ------------- count
139 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 25
146 value ------------- Distribution ------------- count
148 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
154 1048576 |@@@@@@@@@@@@@ 1
158 value ------------- Distribution ------------- count
161 32768 |@@@@@@@@@@@@@@@@@ 19
162 65536 |@@@@@@@@@@@@@@ 16
166 value ------------- Distribution ------------- count
169 32768 |@@@@@@@@@@@@@@@@@@@ 14
179 value ------------- Distribution ------------- count
181 16384 |@@@@@@@@@@@@@@@@@@@@@@@@@ 8
192 value ------------- Distribution ------------- count
194 65536 |@@@@@@@@@@@@@@@@@@@@ 15
196 262144 |@@@@@@@@@@@@ 9
200 value ------------- Distribution ------------- count
202 16384 |@@@@@@@@@@@@@@@@@@@@ 101
203 32768 |@@@@@@@@@@@@@@@@ 84
208 value ------------- Distribution ------------- count
210 32768 |@@@@@@@@@@@@@@@@ 12
214 524288 |@@@@@@@@@@@@ 9
218 value ------------- Distribution ------------- count
221 32768 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 188
227 value ------------- Distribution ------------- count
231 65536 |@@@@@@@@@@@@@ 36
240 value ------------- Distribution ------------- count
242 8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@ 1085
243 16384 |@@@@@@@@@@@ 443
253 value ------------- Distribution ------------- count
257 1048576 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4
266 value ------------- Distribution ------------- count
271 8388608 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 411