浏览代码

collectd: add page (#3055)

Starbeamrainbowlabs 5 年之前
父节点
当前提交
251cb0d26c
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. 32 0
      pages/linux/collectd.md

+ 32 - 0
pages/linux/collectd.md

@@ -0,0 +1,32 @@
+# collectd
+
+> System statistics collection daemon.
+> Homepage: <https://collectd.org/>.
+
+- Show usage help, including the program version:
+
+`collectd -h`
+
+- Test the configuration file and then exit:
+
+`collectd -t`
+
+- Test plugin data collection functionality and then exit:
+
+`collectd -T`
+
+- Start collectd:
+
+`collectd`
+
+- Specify a custom configuration file location:
+
+`collectd -C {{path/to/file}}`
+
+- Specify a custom PID file location:
+
+`collectd -P {{path/to/file}}`
+
+- Don't fork into the background:
+
+`collectd -f`