aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2020-05-12 09:50:51 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-12 11:25:51 +0200
commit64d61b4117219acd0f32516e99c2816bf7cd1547 (patch)
tree8bbe0c97b66bc14f94442cb72b69878d6edb80a0 /vm/vmimpl
parent160c7698277b071db0da01116b9ff94e51ebfd8a (diff)
vm/vmimpl: Don't show ktr, but uma on FreeBSD
Right now, kernels are not build with KTR support, so don't run show ktr. Add showing information about zones like vmstat -z would show.
Diffstat (limited to 'vm/vmimpl')
-rw-r--r--vm/vmimpl/freebsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vmimpl/freebsd.go b/vm/vmimpl/freebsd.go
index f2ebfba56..2210f8c34 100644
--- a/vm/vmimpl/freebsd.go
+++ b/vm/vmimpl/freebsd.go
@@ -22,7 +22,7 @@ func DiagnoseFreeBSD(w io.Writer) ([]byte, bool) {
"ps",
"show all locks",
"show malloc",
- "show ktr",
+ "show uma",
}
for _, c := range commands {
w.Write([]byte(c + "\n"))