[Orca-dev] Typo in linux procollator put_output for multiple cpus

Kowalski, Kenneth Kenneth.Kowalski at xo.com
Wed Oct 8 08:02:02 PDT 2008


      if ( $i == 0 ) {
            put_output(
                "ncpus", $n_cpus - 1,   "usr%",  $usr_100[$i],
                "nice%", $nice_100[$i], "sys%",  $sys_100[$i],
                "wait%", $wait_100[$i], "idle%", $idle_100[$i]
            );
        }
        else {
            if ( $n_cpus > 2 ) {
                put_output(
                    "usr_%_$i", $usr_100[$i], "nice_%_$i",
$nice_100[$i],
                    "sys_%_$i", $sys_100[$i], "wait_%_$i", $idle_100[$i]
                );
            }
        }
    }



"sys_%_$i", $sys_100[$i], "wait_%_$i", $idle_100[$i]

should be

"sys_%_$i", $sys_100[$i], "wait_%_$i", $wait_100[$i], "idle_%_$i",
$idle_100[$i]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-dev/attachments/20081008/e05b3f43/attachment.html>


More information about the Orca-dev mailing list