Commit 894de4e
committed
flux-resource: add
Problem: There is no way for a user to easily get the R being used
for job allocations in an instance. The resource.R KVS key is only
available to the instance owner, and doesn't represent the scheduler
view of resources.
Add a `flux resource R` command that fetches the scheduler's operating
resource set and emits an R on stdout. Similar options to `flux
resource list` are supported so that a user can get an R in any of
the supported states "up", "down", "allocated", "free", "all".R subcommand1 parent 73943c7 commit 894de4e
1 file changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
572 | 585 | | |
573 | 586 | | |
574 | 587 | | |
| |||
766 | 779 | | |
767 | 780 | | |
768 | 781 | | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
769 | 800 | | |
770 | 801 | | |
771 | 802 | | |
| |||
0 commit comments