straceltraceiotop
iostatvmstat - virtual memory statsiftoptcpdumpwiresharktimegdb - for c/c++ programs
# enable core files generation
ulimit -c unlimited
# run programm and generate core file in case of crash
./my-programm
Segmentation fault (core dumped)
gdb -c core
(gdb) backtrace # view call stack
(gdb) up # move in the call stack by one function
(gdb) list # show lines around the current one
(gdb) print var # print variable value
pdb3
pdb3 python-script.py args
(Pdb) next # go to next line
(Pdb) continue # continue until finish or crash
(Pdb) print(var_name) # print variable value
pprofile3 and kcachegrind pprofile3 -f callgrind -o profile.out ./my-script.py
kcachegrind profile.out