Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Batch modify rrd file configuration

Shulou Source: shulou.com Published: 2022-06-03 06:36:25 11月15日 Update

#! / bin/bash### Author:huangjinfa### Email:webjin@qq.comfor I in $(/ bin/ls $1) do/usr/bin/rrdtool dump. / $1 1/$i/usr/bin/rrdtool restore I >. / $1/$i.xml/bin/sed-I'4s A 300 pound 60 1/$i/usr/bin/rrdtool restore g'. / $1/$i.xml/bin/sed-I'10 23 s 600 pound 120 pound g'. / $1/$i.xml/bin/rm. / $1/$i/usr/bin/rrdtool restore. / $1 pound I .xml. / $1/$i/bin/rm. / $1/$i.xmldone

Tags: Files configurin Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Technology Redmi MariaDB Docker