Changes between Version 23 and Version 24 of v1
- Timestamp:
- Aug 4, 2010, 12:48:25 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
v23 v24 59 59 * `viewDb():` Prints the contents of tables : Outlet, machine and PDU 60 60 61 * `storeCons( self,nomMachine,cons,date):` Inserts a new line in the table powerCons61 * `storeCons(nomMachine,cons,date):` Inserts a new line in the table powerCons 62 62 63 * `viewTableMachine():` *Display only the table : machine63 * `viewTableMachine():` Display only the table : machine 64 64 65 65 * `viewMachineCons(nomMachine):` Prints the power consumption values of the machine "nomMachine" whith the corresponding dates … … 73 73 * `getPduMachines(pduName):` Returns a set of machines' names correspondint to the connected machines to PDU "pduName" 74 74 75 * `getCons(nomMachine,start_date,end_date):` 75 * `getCons(nomMachine,start_date,end_date):` Returns a set of machine "nomMachine"'s power consumption values from "start_date" to "end_date" and another set of the corresponding dates 76 76 77 * `getIdMachine(machineName):` Returns the Id of the machine named "machineName" 78 79 * `getLastLoadDate(IdMachine):` Returns the most recent date in table "cpu_charge" where the machine Id is "IdMachine" 80 81 * `storeLoad(IdMachine,dateList,avg1mn_list,avg5mn_list,avg15mn_list):` Inserts a new line to the table cpu_charge whith the given entry values 82 83 * `viewMachineLoad(nomMachine):` Prints the load values of the machine "nomMachine" whith the corresponding dates 77 84 78 85 '''2. PDU Objects: ''' A PDU object allows connexion to a supervisable pdu and extraction of machines' power consumption data
![(please configure the [header_logo] section in trac.ini)](/PowerMon/chrome/site/your_project_logo.png)