aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/SUMMARY.md66
-rw-r--r--src/binary/README.md1
-rw-r--r--src/binary/nm.md (renamed from src/nm.md)0
-rw-r--r--src/binary/objdump.md (renamed from src/objdump.md)0
-rw-r--r--src/binary/od.md (renamed from src/od.md)0
-rw-r--r--src/binary/readelf.md (renamed from src/readelf.md)0
-rw-r--r--src/binary/xxd.md (renamed from src/xxd.md)0
-rw-r--r--src/development/README.md1
-rw-r--r--src/development/c++.md (renamed from src/c++.md)0
-rw-r--r--src/development/c++filt.md (renamed from src/c++filt.md)0
-rw-r--r--src/development/gcc.md (renamed from src/gcc.md)0
-rw-r--r--src/development/glibc.md (renamed from src/glibc.md)0
-rw-r--r--src/development/ld.so.md (renamed from src/ld.so.md)0
-rw-r--r--src/misc/README.md0
-rw-r--r--src/misc/awk.md (renamed from src/awk.md)0
-rw-r--r--src/misc/bash.md (renamed from src/bash.md)0
-rw-r--r--src/misc/emacs.md (renamed from src/emacs.md)0
-rw-r--r--src/misc/fish.md (renamed from src/fish.md)0
-rw-r--r--src/misc/gdb.md (renamed from src/gdb.md)0
-rw-r--r--src/misc/git.md (renamed from src/git.md)0
-rw-r--r--src/misc/radare2.md (renamed from src/radare2.md)0
-rw-r--r--src/misc/tmux.md (renamed from src/tmux.md)0
-rw-r--r--src/misc/zsh.md (renamed from src/zsh.md)0
-rw-r--r--src/monitor/README.md1
-rw-r--r--src/monitor/lsof.md (renamed from src/lsof.md)0
-rw-r--r--src/monitor/pgrep.md (renamed from src/pgrep.md)0
-rw-r--r--src/monitor/pidstat.md (renamed from src/pidstat.md)0
-rw-r--r--src/monitor/pmap.md (renamed from src/pmap.md)0
-rw-r--r--src/monitor/pstack.md (renamed from src/pstack.md)0
-rw-r--r--src/trace_profile/README.md1
-rw-r--r--src/trace_profile/ltrace.md17
-rw-r--r--src/trace_profile/oprofile.md (renamed from src/oprofile.md)0
-rw-r--r--src/trace_profile/perf.md (renamed from src/perf.md)0
-rw-r--r--src/trace_profile/strace.md (renamed from src/strace.md)0
-rw-r--r--src/trace_profile/time.md (renamed from src/time.md)0
35 files changed, 60 insertions, 27 deletions
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
index b01baac..6f6b8f2 100644
--- a/src/SUMMARY.md
+++ b/src/SUMMARY.md
@@ -1,29 +1,41 @@
# Summary
-- [ld.so](./ld.so.md)
-- [git](./git.md)
-- [bash](./bash.md)
-- [zsh](./zsh.md)
-- [tmux](./tmux.md)
-- [awk](./awk.md)
-- [gdb](./gdb.md)
-- [radare2](./radare2.md)
-- [emacs](./emacs.md)
-- [fish](./fish.md)
-- [strace](./strace.md)
-- [lsof](./lsof.md)
-- [pidstat](./pidstat.md)
-- [time](./time.md)
-- [pgrep](./pgrep.md)
-- [pstack](./pstack.md)
-- [perf](./perf.md)
-- [OProfile](./oprofile.md)
-- [od](./od.md)
-- [xxd](./xxd.md)
-- [readelf](./readelf.md)
-- [objdump](./objdump.md)
-- [nm](./nm.md)
-- [c++filt](./c++filt.md)
-- [c++](./c++.md)
-- [glibc](./glibc.md)
-- [gcc](./gcc.md)
+# Misc
+- [Misc](./misc/README.md)
+ - [zsh](./misc/zsh.md)
+ - [bash](./misc/bash.md)
+ - [fish](./misc/fish.md)
+ - [tmux](./misc/tmux.md)
+ - [git](./misc/git.md)
+ - [awk](./misc/awk.md)
+ - [emacs](./misc/emacs.md)
+ - [gdb](./misc/gdb.md)
+ - [radare2](./misc/radare2.md)
+
+- [Resource analysis & monitor](./monitor/README.md)
+ - [lsof](./monitor/lsof.md)
+ - [pidstat](./monitor/pidstat.md)
+ - [pgrep](./monitor/pgrep.md)
+ - [pmap](./monitor/pmap.md)
+ - [pstack](./monitor/pstack.md)
+
+- [Trace and Profile](./trace_profile/README.md)
+ - [strace](./trace_profile/strace.md)
+ - [ltrace](./trace_profile/ltrace.md)
+ - [perf](./trace_profile/perf.md)
+ - [OProfile](./trace_profile/oprofile.md)
+ - [time](./trace_profile/time.md)
+
+- [Binary](./binary/README.md)
+ - [od](./binary/od.md)
+ - [xxd](./binary/xxd.md)
+ - [readelf](./binary/readelf.md)
+ - [objdump](./binary/objdump.md)
+ - [nm](./binary/nm.md)
+
+- [Development](./development/README.md)
+ - [c++filt](./development/c++filt.md)
+ - [c++](./development/c++.md)
+ - [glibc](./development/glibc.md)
+ - [gcc](./development/gcc.md)
+ - [ld.so](./development/ld.so.md)
diff --git a/src/binary/README.md b/src/binary/README.md
new file mode 100644
index 0000000..b75e0e2
--- /dev/null
+++ b/src/binary/README.md
@@ -0,0 +1 @@
+# Binary
diff --git a/src/nm.md b/src/binary/nm.md
index 6e6fd1a..6e6fd1a 100644
--- a/src/nm.md
+++ b/src/binary/nm.md
diff --git a/src/objdump.md b/src/binary/objdump.md
index 636db3f..636db3f 100644
--- a/src/objdump.md
+++ b/src/binary/objdump.md
diff --git a/src/od.md b/src/binary/od.md
index 47f567a..47f567a 100644
--- a/src/od.md
+++ b/src/binary/od.md
diff --git a/src/readelf.md b/src/binary/readelf.md
index d359a84..d359a84 100644
--- a/src/readelf.md
+++ b/src/binary/readelf.md
diff --git a/src/xxd.md b/src/binary/xxd.md
index cd76f14..cd76f14 100644
--- a/src/xxd.md
+++ b/src/binary/xxd.md
diff --git a/src/development/README.md b/src/development/README.md
new file mode 100644
index 0000000..459110d
--- /dev/null
+++ b/src/development/README.md
@@ -0,0 +1 @@
+# Development
diff --git a/src/c++.md b/src/development/c++.md
index d9fbbda..d9fbbda 100644
--- a/src/c++.md
+++ b/src/development/c++.md
diff --git a/src/c++filt.md b/src/development/c++filt.md
index 2592ba9..2592ba9 100644
--- a/src/c++filt.md
+++ b/src/development/c++filt.md
diff --git a/src/gcc.md b/src/development/gcc.md
index 1381242..1381242 100644
--- a/src/gcc.md
+++ b/src/development/gcc.md
diff --git a/src/glibc.md b/src/development/glibc.md
index 2b2ab34..2b2ab34 100644
--- a/src/glibc.md
+++ b/src/development/glibc.md
diff --git a/src/ld.so.md b/src/development/ld.so.md
index 311d1be..311d1be 100644
--- a/src/ld.so.md
+++ b/src/development/ld.so.md
diff --git a/src/misc/README.md b/src/misc/README.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/misc/README.md
diff --git a/src/awk.md b/src/misc/awk.md
index 38b0cb1..38b0cb1 100644
--- a/src/awk.md
+++ b/src/misc/awk.md
diff --git a/src/bash.md b/src/misc/bash.md
index a4df7da..a4df7da 100644
--- a/src/bash.md
+++ b/src/misc/bash.md
diff --git a/src/emacs.md b/src/misc/emacs.md
index b288fb1..b288fb1 100644
--- a/src/emacs.md
+++ b/src/misc/emacs.md
diff --git a/src/fish.md b/src/misc/fish.md
index f24b57f..f24b57f 100644
--- a/src/fish.md
+++ b/src/misc/fish.md
diff --git a/src/gdb.md b/src/misc/gdb.md
index 7a43ca1..7a43ca1 100644
--- a/src/gdb.md
+++ b/src/misc/gdb.md
diff --git a/src/git.md b/src/misc/git.md
index d76ae77..d76ae77 100644
--- a/src/git.md
+++ b/src/misc/git.md
diff --git a/src/radare2.md b/src/misc/radare2.md
index 673c911..673c911 100644
--- a/src/radare2.md
+++ b/src/misc/radare2.md
diff --git a/src/tmux.md b/src/misc/tmux.md
index 04b1111..04b1111 100644
--- a/src/tmux.md
+++ b/src/misc/tmux.md
diff --git a/src/zsh.md b/src/misc/zsh.md
index ae2a4bc..ae2a4bc 100644
--- a/src/zsh.md
+++ b/src/misc/zsh.md
diff --git a/src/monitor/README.md b/src/monitor/README.md
new file mode 100644
index 0000000..545e774
--- /dev/null
+++ b/src/monitor/README.md
@@ -0,0 +1 @@
+# Resource analysis & monitor
diff --git a/src/lsof.md b/src/monitor/lsof.md
index 8253003..8253003 100644
--- a/src/lsof.md
+++ b/src/monitor/lsof.md
diff --git a/src/pgrep.md b/src/monitor/pgrep.md
index 2b52a73..2b52a73 100644
--- a/src/pgrep.md
+++ b/src/monitor/pgrep.md
diff --git a/src/pidstat.md b/src/monitor/pidstat.md
index b57f231..b57f231 100644
--- a/src/pidstat.md
+++ b/src/monitor/pidstat.md
diff --git a/src/pmap.md b/src/monitor/pmap.md
index 7c905ae..7c905ae 100644
--- a/src/pmap.md
+++ b/src/monitor/pmap.md
diff --git a/src/pstack.md b/src/monitor/pstack.md
index c135844..c135844 100644
--- a/src/pstack.md
+++ b/src/monitor/pstack.md
diff --git a/src/trace_profile/README.md b/src/trace_profile/README.md
new file mode 100644
index 0000000..69d120b
--- /dev/null
+++ b/src/trace_profile/README.md
@@ -0,0 +1 @@
+# Trace and Profile
diff --git a/src/trace_profile/ltrace.md b/src/trace_profile/ltrace.md
new file mode 100644
index 0000000..cfa3fae
--- /dev/null
+++ b/src/trace_profile/ltrace.md
@@ -0,0 +1,17 @@
+# ltrace(1)
+
+```markdown
+ltrace [opts] [prg]
+ -f .......... follow child processes on fork(2)
+ -p <pid> .... attach to running process
+ -o <file> ... log output into <file>
+ -l <filter> . show who calls into lib matched by <filter>
+ -C .......... demangle
+```
+
+# Example
+
+List which program/libs call into `libstdc++`:
+```bash
+ltrace -l '*libstdc++*' -C -o ltrace.log ./main
+```
diff --git a/src/oprofile.md b/src/trace_profile/oprofile.md
index 7d35283..7d35283 100644
--- a/src/oprofile.md
+++ b/src/trace_profile/oprofile.md
diff --git a/src/perf.md b/src/trace_profile/perf.md
index 57118ed..57118ed 100644
--- a/src/perf.md
+++ b/src/trace_profile/perf.md
diff --git a/src/strace.md b/src/trace_profile/strace.md
index 34abf3b..34abf3b 100644
--- a/src/strace.md
+++ b/src/trace_profile/strace.md
diff --git a/src/time.md b/src/trace_profile/time.md
index be404fb..be404fb 100644
--- a/src/time.md
+++ b/src/trace_profile/time.md