/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/debugging/tracers.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-21 03:52:00 UTC
  • Revision ID: csa@suren.me-20150821035200-xu1zh22cqlk2omcq
Profiling

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Functions
2
 
=========
3
 
 - strace: syscall trace
4
 
 - ltrace: function (symbol) trace (along with parameters)
5
 
 - mutrace: mutex tracer
6
 
 - stap: system tap is Linux dtrace
7
 
 - debug: alternative tracing engine is available trough debugfs/tracing 
8
 
 - brandz: Framework to Solaris zones allowing execution of Linux apps,
9
 
 hence, enabling dtrace usage for linuxapps.
10
 
 
11
 
 
12
 
I/O
13
 
===
14
 
 - blktrace / blkparse: Tracing of block device. Individual requests with 
15
 
 information on the issuing process, cpu, request type, request size, etc.
16
 
 - btrace: is wrapper around blktrace / blkparse
17
 
 - fatrace: traces file accesses on block device (reports accessing process)
18
 
 - lsof: list of processes holding the specified file / device
19
 
 - iostat: I/O statistics like block sizes, IOPS per seconds, etc.
20
 
 
21
 
Network
22
 
=======
23
 
 - cifsiostat: SMB traffic
24
 
 - nfsiostat: NFS traffic
25
 
 
26
 
Memory
27
 
======
28
 
 
29
 
Kernel
30
 
======
31
 
 - slabtop: memory slab allocations (only slab!). May be usefull to track I/O
32
 
 buffers, etc.
33
 
 
34
 
 
35
 
Performance
36
 
===========
37
 
 - atop: top with disk and memory activities, etc.
38
 
 - mpstat: cpu usage (by core, but no process information) 
39
 
 - vmstat: virtual memory usage (no process information)
40
 
 - sysstat/sar: collects system activity information 
41
 
 
42
 
Objects
43
 
=======
44
 
 - pmap: process memory segment map
45
 
 - pwdx: current working directory of a process
46
 
 - nm: list of exported symbols
47
 
 - ldd: list of linked shared libraries
48
 
 - elflibviewer: dependency tree of shared library  (GUI)
49
 
 
50
 
 
51
 
Tools
52
 
=====
53
 
 - watch <cmd>: Continiously update command display (watch who)
54
 
 - pgrep: find processes by various properties