python3 total memory used of application code example Example: evaluate how much a python program memory ps -m -o %cpu,%mem,command