2015-10-09 05:58:07 +02:00
|
|
|
|
|
|
|
Aus Storage liegt unter /github/easy_dtrace ein kleines Skript für Performanceanalyse mit DTrace
|
|
|
|
|
|
|
|
abgeleitet von: http://github.com/plitc/easy_dtrace
|
|
|
|
|
|
|
|
derzeitige Funktionen:
|
2015-10-09 06:00:04 +02:00
|
|
|
|
|
|
|
<source lang=bash>
|
|
|
|
storage# ./easy_dtrace.sh freenas
|
|
|
|
--- update FlameGraph // --->
|
|
|
|
Already up-to-date.
|
|
|
|
|
|
|
|
Choose the (dtrace) function:
|
|
|
|
1) *** 13) *** | #
|
|
|
|
2) DTrace: Listing Probes 14) *** | #
|
|
|
|
3) DTrace: File Opens 15) FlameGraph: DTrace stacks - capture 60 seconds | #
|
|
|
|
4) DTrace: Syscall Counts By Process 16) *** | #
|
|
|
|
5) DTrace: Distribution of read() Bytes | #
|
|
|
|
6) DTrace: Timing read() Syscall | #
|
|
|
|
7) DTrace: Measuring CPU Time in read() | #
|
|
|
|
8) DTrace: Count Process-Level Events | #
|
|
|
|
9) DTrace: Profile On-CPU Kernel Stacks | #
|
|
|
|
10) DTrace: Scheduler Tracing | #
|
|
|
|
11) DTrace: TCP Inbound Connections | #
|
|
|
|
12) DTrace: Raw Kernel Tracing | #
|
|
|
|
</source>
|
|
|
|
|
|
|
|
#
|