A tiny utility for reading mod_cluster shm slotmem files.
gcc reader.c -o reader $(apr-1-config --cflags --cppflags --includes --link-ld) -I${MOD_CLUSTER_SOURCES}/native/include/ -I${MOD_CLUSTER_SOURCES}/native/mod_manager/ -I${HTTPD_BUILD_DIRECTORY}/include/ -Wall -std=c99
./reader HTTPD_ROOT/cache/mod_cluster/manager.host.hosts.slotmem
Please, note that this utility compiles and works with mod_cluster 1.2.x and 1.3.x. If it displays gibberish, you need to compile with httpd 2.4.x instead of 2.2.x and vice versa.