From NeilDocs
This page will be updated as I find Linux console command that I don't want to forget.
[edit] Commands
strace - Logs system calls for a process it starts
Example: strace -o strace.log processname
top - Shows CPU usage and memory statistics for running processes