LittleDemon WebShell


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/
File Upload :
Command :
Current File : //usr/share/systemtap/examples/memory/vm.tracepoints.stp

#!/usr/bin/stap

global slabs

probe vm.kmem_cache_alloc {
	slabs [execname(), bytes_req]<<<1
}

probe timer.ms(10000)
{
	dummy = "";
	foreach ([name, bytes] in slabs) {
		if (dummy != name)
			printf("\nProcess:%s\n", name);
        	printf("Slab_size:%d\tCount:%d\n", bytes, @count(slabs[name, bytes]));
		dummy = name;
	}
	delete slabs
	printf("\n-------------------------------------------------------\n\n")
}

LittleDemon - FACEBOOK
[ KELUAR ]