Sindbad~EG File Manager

Current Path : /proc/2470164/root/usr/share/systemtap/examples/memory/
Upload File :
Current File : //proc/2470164/root/usr/share/systemtap/examples/memory/overcommit.stp

#!/usr/bin/stap

probe kernel.function("__vm_enough_memory").return {
  if ($return != 0) {
      printf("overcommit blocked malloc, process %s (%d), %d pages\n",
             execname(), pid(), @entry($pages))
  }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists