Commit 7846657
committed
flux-jobs: add -i, --include=HOSTS|RANKS option
Problem: There is no easy way to restrict the output of flux-jobs(1)
based on a set of hosts or ranks, but this is basic and useful
functionality.
Add a new `-i, --include=` optiont that takes a hostlist or idset of
targets, and adds a constraint to the JobList query that restricts
matching jobs to those that were allocated the provided targets.
Fixes #62021 parent 4ac4ceb commit 7846657
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
| |||
166 | 178 | | |
167 | 179 | | |
168 | 180 | | |
| 181 | + | |
169 | 182 | | |
170 | 183 | | |
171 | 184 | | |
| |||
270 | 283 | | |
271 | 284 | | |
272 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
273 | 294 | | |
274 | 295 | | |
275 | 296 | | |
| |||
0 commit comments