Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.73 KB

File metadata and controls

34 lines (25 loc) · 1.73 KB

V0043AcctGatherEnergy

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 V0043Uint32NoValStruct [optional]
previous_consumed_energy int Previous value of consumed_energy [optional]
last_collected int Time when energy data was last retrieved (UNIX timestamp) (UNIX timestamp or time string recognized by Slurm (e.g., '[MM/DD[/YY]-]HH:MM[:SS]')) [optional]

Example

from slurmrest_python.models.v0043_acct_gather_energy import V0043AcctGatherEnergy

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

# convert the object into a dict
v0043_acct_gather_energy_dict = v0043_acct_gather_energy_instance.to_dict()
# create an instance of V0043AcctGatherEnergy from a dict
v0043_acct_gather_energy_from_dict = V0043AcctGatherEnergy.from_dict(v0043_acct_gather_energy_dict)

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