calling fping without specify absolute path in xcatnodemon

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-02-07 20:08:31 +00:00
parent f12614a99d
commit 106a7f2053

View File

@ -83,7 +83,7 @@ sub pingNodeStatus {
#get all the active nodes
#TODO how to decide the path of fping. how about AIX, does it support fping?
my $nodes= join(' ', @mon_nodes);
my $temp=`/usr/sbin/fping -a $nodes 2> /dev/null`;
my $temp=`fping -a $nodes 2> /dev/null`;
chomp($temp);
@active_nodes=split(/\n/, $temp);