Linux Performance Tools

2017-02-10 01:47ZLinux KernelOperating SystemCPUInterconnectMemoryBusCPU1DRAMI/O BusExpander InterconnectInterface TransportsI/O BridgeI/O ControllerDiskDiskSwapNetwork ControllerPortPortVarious, observability:http://www.brendangregg.com/linuxperf.html 2017Power SupplyFANFirmwareApplicationsSystem Call InterfaceVFSFile SystemsVolume ManagerBlock Device Int.SocketsTCP/UDPIPEthernetSchedulerVirtual MemorySystem LibrariesDevice DriversClocksourcelsofpcstatobservability toolsstyle inspired by reddit.com/u/redcttop htop ps pidstatstraceperf tracesysdigpidstat -dperfftracestaplttngbcc(BPF)iostatiotopblktraceGPUswapon -s/proc/swapsethtoolifconfigsnmpgetlldptoolnicstatnetstatiptcpdumpnetstatiptraf-ngperftiptopvmstatslabtop free/proc/meminfonumastattiptopperf pcmturbostatrdmsrmpstatpowertop/proc/statssltracesar -m FANLinux Performance ToolsHardwarestatic performance toolsdf -hmdadm lvmdmsetupstorcliMegaClilsblk lsscsi blockdevsmartctl fdisk -llspci lsusbldd/proc/cpuinfocpuid lscpulstoponumactlApp Configmultipathiprouteiptables/sys/...sar /procdstat dmesgVarious, static:sysctl /sysdmesg lshwjournalctllsmodopensnoop statsnoopsyncsnoopperf-tools/bcc tracing toolshttps://github.com/brendangregg/perf-tools https://github.com/iovisor/bcccpudist execsnooprunlat cpudistoffcputimefunccountfunclatencystackcountkprobeuprobeargdisttraceprofileext4slowerext4distbtrfs*xfs*zfs*cachestat dcsnoopfiletop fileslowermountsnoopbiotop biosnoopbiolatency bitesizememleak oomkillslabratetopgethostlatencytcptop tcplifetcpconnect tcpaccepttcpconnlat tcpretransmdflushhardirqsttysnoopintel_gpu_topintel_gpu_timeintel_gpu_\frequencyipmitooldmidecodelatencytopllcstatprofileVarious, tracing:capabledmesgschedtoolthese can observe the state of the system at rest, without loadugc ucallsmysqld_qslower, ...

Source: http://www.brendangregg.com/linuxperf.html