Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我图表上的每日刻度线在 00:00 与我的数据的清晰变化不一致时,我意识到我遇到了时区问题。Rrdtool 使用我的本地时区(例如 UTC+6)来选择刻度线,而我的数据被转换为假设 UTC+0 的刻度线。rrdtool graph 是否有命令行选项来覆盖时区?
我尝试在环境中强制执行 TZ=UTC+0 ,但是因为我的 rrd 命令被外包出去执行,所以我很难做到这一点。
你是对的,你必须设置TZ环境......