calc

Usage: ./calc <run> [<combo> [<needssams>]] [<host> <username> <pass> <datadb> <outputdb>]

This program calculates the total resource usage and exceeds for one or many combinations of racks. It is the main part of PLUM; the part that actually does the utilization modeling.

Calc can be run in two different modes. One mode runs a single combination; the other runs many combinations that were selected and placed in the database by combogen. The first mode completes in about a second, the second mode should take about one second for every 36 combinations, for an approximate runtime of 15 minutes for a full-up (1000 combos for 33 points) run.

Parameters: