Mwinelands strace foo: Difference between revisions
Jump to navigation
Jump to search
Created page with "Here is the gold if ( $_SERVER['REMOTE_ADDR'] == '10.30.4.80' ) { $file = 'pid.log'; $current = getmypid(); file_put_contents($file, $current); s..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Here is the gold | Here is the gold | ||
if ( $_SERVER['REMOTE_ADDR'] == '10.30.4. | if ( $_SERVER['REMOTE_ADDR'] == '10.30.4.32' ) { | ||
$file = 'pid.log'; | $file = 'pid.log'; | ||
$current = getmypid(); | $current = getmypid(); | ||
Line 7: | Line 7: | ||
sleep(7); | sleep(7); | ||
} | } | ||
strace -f -s512 -tt -o My-strace-results -yy -p `cat pid.log` |
Latest revision as of 00:30, 16 June 2018
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`