Mwinelands strace foo
Here is the gold
if ( $_SERVER['REMOTE_ADDR'] == '10.30.4.32' ) { $file = 'pid.log'; $current = getmypid(); file_put_contents($file, $current); sleep(7); }
strace -Ff -s512 -Tt -o My-strace-results -p `cat pid.log`
Here is the gold
if ( $_SERVER['REMOTE_ADDR'] == '10.30.4.32' ) { $file = 'pid.log'; $current = getmypid(); file_put_contents($file, $current); sleep(7); }
strace -Ff -s512 -Tt -o My-strace-results -p `cat pid.log`