| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/systemtap/examples/memory/ |
| Current File : //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))
}
}