When using the backtick operator:

$rsh = split("\n", `rsh 10.0.0.2 sysstat -c 5 -xs 5 2>&1 </dev/null`);

I get the following defunct (zombie) processes

root      1477  0.0  0.2  1608  604 ?        S    15:44   0:00  \_ CROND
nagios    1478  0.1  0.3  1964  864 ?        S    15:44   0:00      \_
/bin/sh -c /usr/local/bin/php  /home/jeff/at.php 1>/dev/null 2>&1
nagios    1484  0.7  1.2  6416 3176 ?        S    15:44   0:00          \_
/usr/local/bin/php /home/jeff/at.php
nagios    1537  0.0  0.3  1952  848 ?        S    15:44   0:00            
 \_ sh -c rsh 10.0.0.2 sysstat -c 5 -xs 5 2>&1 </dev/null
nagios    1545  0.1  0.3  1844  772 ?        S    15:44   0:00            
     \_ rsh 10.0.0.2 sysstat -c 5 -xs 5
nagios    1564  0.0  0.0     0    0 ?        Z    15:44   0:00            
         \_ [rsh <defunct>]


Any thoughts?
Jeff
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to