r/madeinpython • • Jun 12 '21

Simple script to monitor CPU and RAM usage of submitted cluster job

I am currently using the computational cluster of my institute quite extensively, but it was lacking a tool with which I could analyze the CPU and RAM resources that my job occupies.

So I wrote two simple python scripts, one which records CPU and RAM usage of the running job and one which visualizes the usage.

You can find the script here.

I hope this helps someone as much as it has helped me lately. If you have any questions or suggestions let me know.

Cheers!

31 Upvotes

2 comments sorted by

1

u/ProofProfessional267 Sep 22 '21

This is really useful for my internship! thank you!