Linux tips

See what the files the program opens:

strace -e open <program>

Other useful system calls: write, execve (see what programs are started from this program), recvfrom

 

See stack of program:

cat /proc/<>/stack

 

See disk write stats:

dstat -d

Leave a Reply

Your email address will not be published. Required fields are marked *