In one of my previous posts I was writing about how to read other processes memory [ 1 ]. As an example I tried to get the value of the hard coded MySQL internal InnoDB variable spin_wait_delay
(srv_spin_wait_delay
).
In this example we were using gdb
or the operating system ptrace
function to retrieve this value. This method has the disadvantage that it is pretty invasive.