Report question

Question: How to determine CPU and memory consumption from inside a process