Select one or more groups or nodes for ping.
\n"; exit; } //pping is one local command, which doesn't use xcat client/server protocol; $xml = docmd('webrun',"",array("pping $noderange",));#The default pping option is NULL if(getXmlErrors($xml,$errors)) { echo "ping failed: ", implode(' ',$errors), "
\n"; exit; } //show the result of "pping" //TODO echo "\n";
echo <<
TAB1;
foreach ($xml->children() as $response) foreach ($response->children() as $o) {
$nodename=$o->name;
if(empty($nodename)) {
continue;
}
$contents = $o->data->contents;
//echo "$nodename: $contentsNode Name
Ping Status
\n";
echo "\n";
echo " \n";
//echo "$nodename: $contents$nodename ";
echo "$contents ";
echo "
\n";
}
echo <<