[Orca-users] Procallator - Uninitialized value in multiplication

Roman Grom r.grom at web.de
Thu Apr 1 07:14:49 PST 2004


Hello,

i use the procallator.pl script from orca-0.27b3.tar.gz Package. I have also tested 0.27.

To make a long story short, please take a look to the messages below.

My Box:Debian woody, Kernel 2.6.4, SMP i686

foo133:/etc/init.d# ./procallator start

..Some seconds of silence.

foo133:/etc/init.d# Argument "" isn't numeric in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Use of uninitialized value in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Use of uninitialized value in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Use of uninitialized value in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Use of uninitialized value in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Use of uninitialized value in multiplication (*) at /usr/local/bin/procallator.pl line 499.
Argument "" isn't numeric in multiplication (*) at /usr/local/bin/procallator.pl line 499.

foo133:/etc/init.d# ./procallator stop
Unknown HZ value! (37) Assume 100.
foo133:/etc/init.d#

...

	sub prcnt {
	  my ($a,$b) = @_;
   499->  return ($b==0) ? 0 : sprintf ("%.2f",100 * $a / $b);
	}


Any Idea?

Thanks in advance,
Roman

_____________________________________________________________________
Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-P!
Kostenfrei fuer alle FreeMail Nutzer. http://f.web.de/?mc=021157




More information about the Orca-users mailing list