Skip to content

Commit 70d11cc

Browse files
committed
Fix broken bash code (replace by console).
1 parent 3bd6a72 commit 70d11cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

alliance_canada/resource_tracking.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ If there is a known problem with the Metrix portal, this should be documentated
1717

1818
To view all users in a given allocation (e.g., `rrg-pbellec_gpu`) or in multiple allocations, we can run:
1919

20-
```{bash}
20+
```console
2121
sshare -l --accounts=rrg-pbellec_gpu -a
2222
```
2323

2424
We can also pass multiple allocations in a comma-separated list.
2525
To view only a subset of users within allocations, simply pass the `-u` flag with the relevant user name(s):
2626

27-
```{bash}
27+
```console
2828
sshare -l --accounts=rrg-pbellec_cpu,def-pbellec_cpu -u emdupre
2929
```
3030

@@ -46,15 +46,15 @@ The Alliance Canada documentation has lots of resources for [monitoring jobs, in
4646

4747
One useful command to get a full accounting of a completed job is with `scontrol`:
4848

49-
```{bash}
49+
```console
5050
scontrol show job -dd <JOBID>
5151
```
5252

5353
## Requesting resources
5454

5555
In order to more efficiently _request_ resources, we can use the `partition-stats` command, called simply using:
5656

57-
```{bash}
57+
```console
5858
partition-stats
5959
```
6060

@@ -72,8 +72,8 @@ Specifically, the command will return:
7272
As Alliance Resources [implement backfilling](https://docs.alliancecan.ca/wiki/Job_scheduling_policies#Backfilling), jobs are not strictly started in terms of priority order, but also in terms of what resources are available.
7373
The start time for a given job can therefore be estimated using:
7474

75-
```{bash}
75+
```console
7676
squeue --start -j <JOBID>
7777
```
7878

79-
Note, though, that this is not a strictly accurate estimate, as it depends on multiple factors including that other, currently running jobs have requested accurate time limits.
79+
Note, though, that this is not a strictly accurate estimate, as it depends on multiple factors including that other, currently running jobs have requested accurate time limits.

0 commit comments

Comments
 (0)