File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -67,22 +67,23 @@ resource "coder_agent" "main" {
67
67
68
68
## Utilities
69
69
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
71
71
distributions and contains virtual memory, CPU and IO statistics. Running ` vmstat `
72
72
produces output that looks like:
73
+
73
74
```
74
75
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
+ ```
78
79
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
82
83
like:
83
84
84
85
```
85
86
--total-cpu-usage-- -dsk/total- -net/total- ---paging-- ---system--
86
87
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
88
89
```
You can’t perform that action at this time.
0 commit comments