I have a python code that I will run on a ubuntu machine.It will run in the device for 24/7, 365 Days.
To run the code I will use this command in the terminal:
python3 run.py
How to calculate the CPU and Memory usage of that file when run on the machine?