Skip to content
Snippets Groups Projects
Commit 4f8cfe3b authored by Danny Auble's avatar Danny Auble
Browse files

fix for pdown time to be pdown instead of down time

parent 743b16cd
No related branches found
No related tags found
No related merge requests found
...@@ -972,7 +972,7 @@ extern int mysql_daily_rollup(mysql_conn_t *mysql_conn, ...@@ -972,7 +972,7 @@ extern int mysql_daily_rollup(mysql_conn_t *mysql_conn,
"group by cluster on duplicate key update " "group by cluster on duplicate key update "
"mod_time=%d, cpu_count=@CPU, " "mod_time=%d, cpu_count=@CPU, "
"alloc_cpu_secs=@ASUM, down_cpu_secs=@DSUM, " "alloc_cpu_secs=@ASUM, down_cpu_secs=@DSUM, "
"pdown_cpu_secs=@DSUM, idle_cpu_secs=@ISUM, " "pdown_cpu_secs=@PDSUM, idle_cpu_secs=@ISUM, "
"over_cpu_secs=@OSUM, resv_cpu_secs=@RSUM;", "over_cpu_secs=@OSUM, resv_cpu_secs=@RSUM;",
cluster_day_table, now, now, curr_start, cluster_day_table, now, now, curr_start,
cluster_hour_table, cluster_hour_table,
...@@ -1073,7 +1073,7 @@ extern int mysql_monthly_rollup(mysql_conn_t *mysql_conn, ...@@ -1073,7 +1073,7 @@ extern int mysql_monthly_rollup(mysql_conn_t *mysql_conn,
"group by cluster on duplicate key update " "group by cluster on duplicate key update "
"mod_time=%d, cpu_count=@CPU, " "mod_time=%d, cpu_count=@CPU, "
"alloc_cpu_secs=@ASUM, down_cpu_secs=@DSUM, " "alloc_cpu_secs=@ASUM, down_cpu_secs=@DSUM, "
"pdown_cpu_secs=@DSUM, idle_cpu_secs=@ISUM, " "pdown_cpu_secs=@PDSUM, idle_cpu_secs=@ISUM, "
"over_cpu_secs=@OSUM, resv_cpu_secs=@RSUM;", "over_cpu_secs=@OSUM, resv_cpu_secs=@RSUM;",
cluster_month_table, now, now, curr_start, cluster_month_table, now, now, curr_start,
cluster_day_table, cluster_day_table,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment