Button to call OOM_KILL on Raspberry Pi

#1

I was looking around online and was wondering if there was a way to make a button widget that called an OOM kill on Raspberry Pi

#2

have a look at this Executing custom code on your Raspberry Pi from Cayenne

#3

Thanks