如何清理石墨耳语的数据? [英] How to cleanup the graphite whisper's data?

查看:105
本文介绍了如何清理石墨耳语的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想删除石墨的存储数据,但石墨文档中没有任何内容.

I want to delete the graphite's storage whisper's data but there ain't anything in the graphite docs.

我做的一种方法是手动删除/opt/graphite...../whispers/stats...处的文件.

One way I did is deleting the the files at /opt/graphite...../whispers/stats... manually.

但这很乏味,那我该怎么办?

But this is tedious, so how do I do it?

推荐答案

当前,从/opt/graphite/storage/whisper/中删除文件是清理耳语数据的正确方法.

Currently, deleting files from /opt/graphite/storage/whisper/ is the correct way to clean up whisper data.

对于过程中的繁琐部分,如果您要删除某个特定模式,则可以使用find命令.

As for the tedious side of the process, you could use the find command if there is a certain pattern that your trying to remove.

找到/opt/graphite/storage/whisper -name loadavg.wsp -delete

find /opt/graphite/storage/whisper -name loadavg.wsp -delete

关于answer.launchpad.net/graphite的类似问题

这篇关于如何清理石墨耳语的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆