Skip to content

Commit 1986662

Browse files
committed
docs: improve formatting
1 parent fc3d8cf commit 1986662

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/templates/agent-metadata.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,23 @@ resource "coder_agent" "main" {
6767

6868
## Utilities
6969

70-
* [vmstat](https://linux.die.net/man/8/vmstat) is available in most Linux
70+
[vmstat](https://linux.die.net/man/8/vmstat) is available in most Linux
7171
distributions and contains virtual memory, CPU and IO statistics. Running `vmstat`
7272
produces output that looks like:
73+
7374
```
7475
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
75-
r b swpd free buff cache si so bi bo in cs us sy id wa st
76-
0 0 19580 4781680 12133692 217646944 0 2 4 32 1 0 1 1 98 0 0
77-
```
76+
r b swpd free buff cache si so bi bo in cs us sy id wa st
77+
0 0 19580 4781680 12133692 217646944 0 2 4 32 1 0 1 1 98 0 0
78+
```
7879

79-
* [dstat](https://linux.die.net/man/1/dstat) is considerably more human-friendly
80-
than `vmstat` but not always already installed. It is available in almost any
81-
package manager under the name `dstat`. The output of running `dstat 1 1` looks
80+
[dstat](https://linux.die.net/man/1/dstat) is considerably more parseable
81+
than `vmstat` but often not included in base images. It is easily installed by
82+
most package managers under the name `dstat`. The output of running `dstat 1 1` looks
8283
like:
8384

8485
```
8586
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system--
8687
usr sys idl wai stl| read writ| recv send| in out | int csw
87-
1 1 98 0 0|3422k 25M| 0 0 | 153k 904k| 123k 174k
88+
1 1 98 0 0|3422k 25M| 0 0 | 153k 904k| 123k 174k
8889
```

0 commit comments

Comments
 (0)