Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.64 KB

File metadata and controls

34 lines (25 loc) · 1.64 KB

V0042AcctGatherEnergy

Properties

Name Type Description Notes
average_watts int Average power consumption, in watts [optional]
base_consumed_energy int The energy consumed between when the node was powered on and the last time it was registered by slurmd, in joules [optional]
consumed_energy int The energy consumed between the last time the node was registered by the slurmd daemon and the last node energy accounting sample, in joules [optional]
current_watts V0042Uint32NoValStruct [optional]
previous_consumed_energy int Previous value of consumed_energy [optional]
last_collected int Time when energy data was last retrieved (UNIX timestamp) [optional]

Example

from slurmrest_python.models.v0042_acct_gather_energy import V0042AcctGatherEnergy

# TODO update the JSON string below
json = "{}"
# create an instance of V0042AcctGatherEnergy from a JSON string
v0042_acct_gather_energy_instance = V0042AcctGatherEnergy.from_json(json)
# print the JSON string representation of the object
print(V0042AcctGatherEnergy.to_json())

# convert the object into a dict
v0042_acct_gather_energy_dict = v0042_acct_gather_energy_instance.to_dict()
# create an instance of V0042AcctGatherEnergy from a dict
v0042_acct_gather_energy_from_dict = V0042AcctGatherEnergy.from_dict(v0042_acct_gather_energy_dict)

[Back to Model list] [Back to API list] [Back to README]