A simple script which logs the CPU and RAM usage of the submitted job
ClusterMonitor A very simple python script which monitors and records the CPU and RAM consumption of submitted cluster jobs. Usage To start recording use the cpu_ram_log.py script. This script requires 3 arguments: -u which corresponds to your username. -o which specifies the output file (in tsv format) –interval which specifies the time (in seconds) over which the CPU and RAM usage gets averaged Example: python cpu_ram_log.py -u nickhir -o cpu_ram.log –interval 5 The script can simply be included in your […]
Read more