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 -f -s512 -tt -o My-strace-results -yy -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 -f -s512 -tt -o My-strace-results -yy -p `cat pid.log`