JobStatistics
pyslurm.db.JobStatistics
    Statistics for a Slurm Job or Job Collection.
Attributes:
| Name | Type | Description | 
|---|---|---|
| total_cpu_time | int | Sum of user_cpu_time and system_cpu_time, in seconds | 
| user_cpu_time | int | Total amount of time spent in user space, in seconds | 
| system_cpu_time | int | Total amount of time spent in kernel space, in seconds | 
| consumed_energy | int | Total amount of energy consumed, in joules | 
| elapsed_cpu_time | int | Total amount of time used(Elapsed time * cpu count) in seconds. This is not the real CPU-Efficiency, but rather the total amount of cpu-time the CPUs were occupied for. | 
| disk_read | int | Total amount of bytes read. | 
| disk_write | int | Total amount of bytes written. | 
| page_faults | int | Total amount of page faults. | 
| resident_memory | int | Total Resident Set Size (RSS) used in bytes. | 
| virtual_memory | int | Total Virtual Memory Size (VSZ) used in bytes. | 
pyslurm.db.JobStepStatistics
    Statistics for a Slurm JobStep.
Note
For more information also see the sacct manpage.
Attributes:
| Name | Type | Description | 
|---|---|---|
| consumed_energy | int | Total amount of energy consumed, in joules | 
| elapsed_cpu_time | int | Total amount of time used(Elapsed time * cpu count) in seconds. This is not the real CPU-Efficiency, but rather the total amount of cpu-time the CPUs were occupied for | 
| avg_cpu_time | int | Average CPU-Time (System + User) in seconds of all tasks | 
| avg_cpu_frequency | int | Average weighted CPU-Frequency of all tasks, in Kilohertz | 
| avg_disk_read | int | Average number of bytes read by all tasks | 
| avg_disk_write | int | Average number of bytes written by all tasks | 
| avg_page_faults | int | Average number of page faults by all tasks | 
| avg_resident_memory | int | Average Resident Set Size (RSS) in bytes of all tasks | 
| avg_virtual_memory | int | Average Virtual Memory Size (VSZ) in bytes of all tasks | 
| max_disk_read | int | Highest peak number of bytes read by all tasks | 
| max_disk_read_node | int | Name of the Node where max_disk_read occurred | 
| max_disk_read_task | int | ID of the Task where max_disk_read occurred | 
| max_disk_write | int | Lowest peak number of bytes written by all tasks | 
| max_disk_write_node | int | Name of the Node where max_disk_write occurred | 
| max_disk_write_task | int | ID of the Task where max_disk_write occurred | 
| max_page_faults | int | Highest peak number of page faults by all tasks | 
| max_page_faults_node | int | Name of the Node where max_page_faults occurred | 
| max_page_faults_task | int | ID of the Task where max_page_faults occurred | 
| max_resident_memory | int | Highest peak Resident Set Size (RSS) in bytes by all tasks | 
| max_resident_memory_node | int | Name of the Node where max_resident_memory occurred | 
| max_resident_memory_task | int | ID of the Task where max_resident_memory occurred | 
| max_virtual_memory | int | Highest peak Virtual Memory Size (VSZ) in bytes by all tasks | 
| max_virtual_memory_node | int | Name of the Node where max_virtual_memory occurred | 
| max_virtual_memory_task | int | ID of the Task where max_virtual_memory occurred | 
| min_cpu_time | int | Lowest peak CPU-Time (System + User) in seconds of all tasks | 
| min_cpu_time_node | int | Name of the Node where min_cpu_time occurred | 
| min_cpu_time_task | int | ID of the Task where min_cpu_time occurred | 
| total_cpu_time | int | Sum of user_cpu_time and system_cpu_time, in seconds | 
| user_cpu_time | int | Amount of Time spent in user space, in seconds | 
| system_cpu_time | int | Amount of Time spent in kernel space, in seconds |