Modify greedy pete for kill 9 signals

When greedy pete is running and reaches the max memory allocation it
receives a kill 9 signal which doesn't allow it to write the difference
between start and end diagnostics.

Also added log option for no logs since get_diganostics call logs
every call which we are calling for every memory increment.