c3d2-wiki/Github%2Feasy_dtrace.mw

36 lines
1.5 KiB
Plaintext

Auf Storage liegt unter '''/github/easy_dtrace''' ein kleines Skript für Performance-Analysen mit DTrace
* Quelle: [http://github.com/plitc/easy_dtrace easy_dtrace]
== derzeitige Funktionen: ==
<source lang=bash>
storage# ./easy_dtrace.sh freenas
--- update FlameGraph // --->
Already up-to-date.
Choose the (dtrace) function:
1) pmcstat -TS instructions (load hwpmc.ko!) 13) *** | #
2) DTrace: Listing Probes 14) *** | #
3) DTrace: File Opens 15) FlameGraph: DTrace stacks - capture 60 seconds | #
4) DTrace: Syscall Counts By Process 16) FlameGraph: pmcstat -G stacks - capture 60 seconds (load hwpmc.ko!) | #
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>
== FlameGraph ==
'''15) FlameGraph: DTrace stacks - capture 60 seconds (svg output)'''
[[Datei:Storage.hq.c3d2.de_kernel.jpg]]
'''16) FlameGraph: pmcstat -G stacks - capture 60 seconds (load hwpmc.ko!) (svg output)'''
[[Datei:Storage.hq.c3d2.de_pmc.jpg]]