Skip to content

Commit

Permalink
hotfix: flux-tree stat -> stats
Browse files Browse the repository at this point in the history
Problem: stat is no longer a command, but stats is
Solution: change to stats!

Testing locally now.

Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Apr 15, 2024
1 parent a36ba95 commit 9b45eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2024-RIKEN-AWS/JupyterNotebook/flux-tree/flux-tree
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jsonify() {

if [[ "${avail}" = "yes" ]]
then
avg=$(flux ion-resource stat | grep "Avg" | awk '{print $4}')
avg=$(flux ion-resource stats | grep "Avg" | awk '{print $4}')
el_match=$(awk "BEGIN {print ${avg}*${njobs}*1000000.0}")
fi

Expand Down

0 comments on commit 9b45eb8

Please sign in to comment.