mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 15:41:38 +00:00
38 lines
603 B
Plaintext
38 lines
603 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# collectd
|
|
|
|
> System statistics collection daemon.
|
|
> More information: <https://collectd.org/>.
|
|
|
|
- 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`
|
|
|
|
- Display help and version:
|
|
|
|
`collectd -h`
|