diff --git a/misc/accounting.sh b/misc/accounting.sh index c17038b..5b437a4 100644 --- a/misc/accounting.sh +++ b/misc/accounting.sh @@ -13,7 +13,6 @@ INODE_TMP=${HOME_DIR}/inode.tmp FREE_QUEUE_TMP=${ACCOUNTING_DIR}/free_queue.tmp #============================================================================= ACCOUNTJ="/usr/local/bin/accountj" -ACCOUNTJ_PT="/usr/local/bin/accountj_pt" ACCOUNTD="/usr/local/bin/accountd" PJSTATA="/usr/local/bin/pjstata" CHKLOWPRIORITY="/usr/local/bin/chklowpriority" diff --git a/misc/utils.rb b/misc/utils.rb index f2a2cda..577217e 100644 --- a/misc/utils.rb +++ b/misc/utils.rb @@ -341,9 +341,9 @@ def get_fugaku_pt_resource(month, group, w_commas = true) if File.exist?(file) CSV.foreach(file) do |row| if row[0] == "RESOURCE_GROUP" and row[1] == "pt-Aug" and month == "Aug" - return (w_commas)? num_with_commas(row[2]) : row[2].to_i + return (w_commas)? num_with_commas(row[2].to_i/3600) : row[2].to_i/3600 elsif row[0] == "RESOURCE_GROUP" and row[1] == "pt-Feb" and month == "Feb" - return (w_commas)? num_with_commas(row[2]) : row[2].to_i + return (w_commas)? num_with_commas(row[2].to_i/3600) : row[2].to_i/3600 end end end