如何更改 collectd 中的收集间隔时间?我希望它每 1 秒收集一次我的数据。
答案1
通过Interval
Interval Seconds
Configures the interval in which to query the read plugins.
Obviously smaller values lead to a higher system load produced by
collectd, while higher values lead to more coarse statistics.
例如:
<LoadPlugin df>
Interval 1
</LoadPlugin>