1. start top
  2. lsof -p
  3. strace -p
  4. ltrace -p

Happy debugging :D